parse_race_text: Parse text-based racial identity field and fortify the...

View source: R/parse_AMCAS_race_ethn.R

parse_race_textR Documentation

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

Description

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

Usage

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

Arguments

data

A data.frame or tibble

race.field

Unquoted name of a field

hispanic.field

Unquoted name of a field

Value

A data.frame or tibble fortified with new columns


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