There are a number of variables that cover site-specific factors. This function renames those variables according the their labels. The resulting names are long but descriptive.
seer_rename_site_specific(.data, name_formatter = snakecase::to_snake_case)
.data | The SEER data set, from |
---|---|
name_formatter | A function that takes will be applied to the
site-specific factor descriptions to convert into valid variable names. See
|