Get grouping variables for the time use survey data
Source:R/2_Activities_2021.R
get_grouping_vars.Rd
Get grouping variables for the time use survey data
Value
A character vector of names of grouping variables. These will be 'activity' and 'location' together with any stratification variables (if supplied).
Examples
get_grouping_vars()
#> [1] "activity" "location"
get_grouping_vars(c("sex", "agegr4", "nssec5", "daytype"))
#> [1] "sex" "agegr4" "nssec5" "daytype" "activity" "location"