acscodes_df | R Documentation |
A tidy dataframe where each row is a ACS code. This is useful internal data to give meaning to variable codes e.g. acscodes_age_sex_educ
acscodes_df
A data frame with 22,134 rows where each row represents a variable in the ACS for which there is a count (e.g. 18-24 year olds who identify as Hispanic).
the ACS code for the variable (2016)
the ACS table the variable is in (2016)
A labelled variable for gender. 1 is Male, 2 is Female. Use
the labelled
or haven
package to see labels.
A numeric, binary version of gender
A labelled variable specifying which 5-way age bin the variable specifies
A labelled variable specifying which 10-way age bin the variable specifies
A labelled variable specifying which education (four-way) bin the variable specifies
A labelled variable specifying which education (three-way) bin the variable specifies
A labelled variable specifying which education bin the variable specifies
The 5-yr ACS at 2018 is used,
although codes should be fairly consistent across time. IF a demographic variable is NA
,
that means the variable collapses over the levels of that variable. In other
words, NA
here can be thought of as meaning "all".
Modifications around tidycensus::load_variables
head(acscodes_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.