Dataset of Decennial Census variable labels, loaded from tidycensus::load_variables()
and cleaned up slightly. 2010 and 2020 versions are saved separately and have different variable code formats. decennial_vars
has an attribute year
giving the year of the dataset.
Format
A data frame with 8959 rows (2010) or 9067 rows (2020) and 3 variables:
- name
Variable code containing the table number and variable number
- label
Readable label of each variable
- concept
Table name
See also
Other ref-datasets:
acs_vars
,
ct5_clusters
,
msa
,
naics_codes
,
neighborhood_tracts
,
occ_codes
,
proxy_pumas
,
regions
,
school_dists
,
table_nums
,
village2town
,
xwalk
,
zip2town
Examples
# get the year
attr(decennial_vars, "year")
#> [1] 2020