overwrite_hisp_race | R Documentation |
Overwrite Races with Hispanic
overwrite_hisp_race(ppmf, race = CENRACE, hisp = CENHISP)
ppmf |
tibble of ppmf data |
race |
Column in ppmf containing race codes |
hisp |
Column in ppmf containing 1 for Not Hispanic and 2 for Hispanic |
tibble with race column entries replaced if the individual is Hispanic
data(ppmf_ex)
ppmf_ex |> replace_race() |> overwrite_hisp_race()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.