Strip out most non-alphanumeric characters from variables. Removes all alphanumeric characters except for periods and underscores ('.' and '_'), as these are often used in variable names.
strip_non_alpha(df)
df | The dataframe, tibble, etc, with the variables you want to tidy. |
---|
A dataframe, tibble, etc, with new and consistent cases for variable names.