Returns the value scale of the specified rfrnds()
columns.
Arguments
- var_names
Variable name(s) present in
data_codebook
for which the value scale is to be returned. A character vector.
See also
Other referendum metadata functions:
data_codebook
,
prettify_var_names()
,
val_lbls()
,
var_name_unnested()
,
var_vals()
Examples
rdb::val_scale("level")
#> [1] "ordinal_ascending"
paste0("topics_tier_", 1:3) |> rdb::val_scale()
#> [1] "nominal" "nominal" "nominal"