assign_race_labels.Rd
Convert the race labels from a data source to Racine race labels
assign_race_labels(
.x,
mapping,
...,
target_name = "Race/Ethnicity",
.levels = hiRx::RACE_LABELS_RACINE
)
a data frame with a column of race labels
a data frame that relates the source's labels to Racine's
values for the `by` argument of an `inner_join` between `.x` and `mapping`
optional, defaults to "Race/Ethnicity".
optional, the new levels for the Race/Ethnicity factor.
a new data frame with a factor, `Race/Ethnicity`, of Racine races.