relabel_person_variables | R Documentation |
This bins certain variables by recategorizing and making a new column. This is useful when working with data from an old and new database or when wanting to have fewer categories. "wisinj" bins WISINJ into "No Injury", "Injured", and "Killed".
relabel_person_variables(person_df, relabel_by = "wisinj")
person_df |
person df |
relabel_by |
either by "wisinj" |
A new column of either/all inj
## Not run: system.file("extdata", "17person.fst", package = "fst") |>
relabel_person_date(relabel_by = "wisinj")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.