View source: R/parse_AMCAS_race_ethn.R
parse_race_code | R Documentation |
Parse code-based racial identity field and fortify the dataset with individual fields for each of the IPEDS racial categories.
parse_race_code(data, race.field, hispanic.field)
data |
A data.frame containing race/ethnicity data |
race.field |
Field name for racial self-identifications |
hispanic.field |
Field name for Hispanic ethnicity self-identification |
Dataframe or tibble fortified with new columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.