income_recode | R Documentation |
Creates shortened names for incomes in tidycensus downloaded ACS data
income_recode(df, income_col, new_income = "income_recode", rent_own = F)
df |
A tidycensus downloaded dataset with an income column |
income_col |
The name of the column in the tidycensus dataset containing original income values |
new_income |
The name of the new, factorized column with shortened income values |
rent_own |
Whether to revalue the 100k income range to be inclusive of different income ranges for owners and renters (i.e., if you want to compare renter and owner incomes). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.