label_decennial | R Documentation |
tidycensus::get_decennial
returns a decennial data table with its variable codes, which can be joined with cwi::decennial_vars20
to get readable labels. This function is just a quick wrapper around the common task of joining these two data frames.
label_decennial(data, year = 2020, sumfile = "dhc", variable = variable)
data |
A data frame/tibble. |
year |
The year of decennial census data; defaults 2020. |
sumfile |
A string: which summary file to use. Defaults to |
variable |
The bare column name of variable codes; defaults to |
A tibble
decennial_vars20
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.