Construct a csfmt measure column name from components
Usage
csfmt_var(
measure,
denom = NULL,
role = NULL,
q = NULL,
level = NULL,
per = NULL,
suffix = NULL
)Arguments
- measure
Character scalar, the measure identity (e.g. "consults_r80").
- denom
Optional denominator name; inserts `_vs_<denom>`.
- role
Optional statistic role: observed/nowcasted/forecasted/trend/baseline/status.
- q
Optional probability for a quantile coordinate (mutually exclusive with `level`).
- level
Optional status level for a `prob_<level>` coordinate.
- per
Optional rate scaling (e.g. 100 -> `_pr100`).
- suffix
Optional unit suffix (e.g. "_n").
