income_recode: Recode income values

income_recodeR Documentation

Recode income values

Description

Creates shortened names for incomes in tidycensus downloaded ACS data

Usage

income_recode(df, income_col, new_income = "income_recode", rent_own = F)

Arguments

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).


dpowerstp/acsprocess documentation built on Sept. 4, 2022, 10:18 a.m.