A wrapper for the snake_case(), camelCase(), and
period.case() functions.
change_case(df, case_style = c("snake_case", "camelCase", "period.case"))
| df | The dataframe, tibble, data.table, etc, with the variables you want to tidy. |
|---|---|
| case_style | The style to convert variable names to. Accepts one of
|
A dataframe, tibble, data.table, etc, with new and consistent cases for variable names.
if (FALSE) { df <- change_case(df) }