educ_recode | R Documentation |
A function to recode tidycensus education columns to a shorter string for graphing purposes
educ_recode(df, educ_col, new_educ = "educ_recode")
df |
A tidycensus dataframe with an education column |
educ_col |
The column name of to the education column in the tidycensus dataframe |
new_educ |
The name of the new column containing the recoded education values; by edfault, educ_recode |
A dataframe with a recoded education column with shorter names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.