label_acs | R Documentation |
tidycensus::get_acs
returns an ACS table with its variable codes, which can be joined with cwi::acs_vars*
to get readable labels. This function is just a quick wrapper around the common task of joining these two data frames.
label_acs(data, year = 2022, survey = "acs5", variable = variable)
data |
A data frame/tibble. |
year |
The endyear of ACS data; defaults 2022. |
survey |
A string: which ACS estimate to use. Defaults to 5-year ( |
variable |
The bare column name of variable codes; defaults to |
A tibble
acs_vars22
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.