ff_acs_ethnicity | R Documentation |
This function filters for the following ethnicities in ACS data: White Alone, Not Hispanic or Latino; Black or African American Alone; Hispanic or Latino
ff_acs_ethnicity(df, ethnicity_column)
df |
Dataframe of ACS data |
ethnicity_column |
Column name that contains race / ethnicity phrase |
It also cleans the race / ethnicity name to match FF standards.
The dataframe inputted into the function, but only the rows with race / ethnicity information for White Alone, Not Hispanic or Latino; Black or African American Alone; and Hispanic or Latino remain
ff_acs_ethnicity(df, description)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.