Extract variable codes from a variable tibble
Arguments
- var_df
A tibble returned by
get_variables().
Examples
# \donttest{
scb <- px_api("scb", lang = "en")
if (px_available(scb)) {
get_variables(scb, "TAB638") |> variable_extract_ids()
}# }
#> [1] "Region" "Civilstand" "Alder" "Kon" "ContentsCode"
#> [6] "Tid"