replace_race {ppmf} | R Documentation |
Replace Race Categories
Description
Replaces the Census's numeric categories for race with less specific racial classifications, typically useful for redistricting purposes.
Usage
replace_race(ppmf, race = CENRACE)
Arguments
ppmf |
tibble of ppmf data |
race |
Column in ppmf containing race codes |
Value
tibble with race column replaced by simpler racial classifications
Examples
data(ppmf_ex)
ppmf_ex %>% replace_race()
[Package ppmf version 0.1.3 Index]