step_ethnicity: Cleans a member's racial ethnicity.

View source: R/step_ethnicity.R

step_ethnicityR Documentation

Cleans a member's racial ethnicity.

Description

Cleans a member's racial ethnicity.

Usage

step_ethnicity(df, detailed_types = FALSE)

Arguments

df

a tibble of demographic data

detailed_types

If ethnicity should be reported by country, or according to the new simplified schema such as Black, Hispanic, White, etc.

Value

a tibble with cleaned column Ethnicity

Examples

#demo_raw <- step_ethnicity(df = demo_raw, detailed_types = FALSE)

SzarR/medusa documentation built on Feb. 7, 2024, 11:36 p.m.