View source: R/step_ethnicity.R
step_ethnicity | R Documentation |
Cleans a member's racial ethnicity.
step_ethnicity(df, detailed_types = FALSE)
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. |
a tibble with cleaned column Ethnicity
#demo_raw <- step_ethnicity(df = demo_raw, detailed_types = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.