parse_race_code: Parse code-based racial identity field and fortify the...

View source: R/parse_AMCAS_race_ethn.R

parse_race_codeR Documentation

Parse code-based racial identity field and fortify the dataset with individual fields for each of the IPEDS racial categories.

Description

Parse code-based racial identity field and fortify the dataset with individual fields for each of the IPEDS racial categories.

Usage

parse_race_code(data, race.field, hispanic.field)

Arguments

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

Value

Dataframe or tibble fortified with new columns


cmstillwell/UWparserrr documentation built on Nov. 11, 2024, 10:38 p.m.