remap_race: Remaps the race column to a single standard across 1979-2015

View source: R/remap_race.R

remap_raceR Documentation

Remaps the race column to a single standard across 1979-2015

Description

The race column in MCOD data underwent several changes from 1979-2015. This function standardizes the race column and can (should) be used with categorize_race() to result in a single set of consist race codes across all files.

Usage

remap_race(icd_df, year = NULL)

Arguments

icd_df

an MCOD dataframe

year

year of file, if NULL will try to extract year automatically

Value

dataframe


mkiang/narcan documentation built on Sept. 26, 2024, 7:18 a.m.