Removes all alphanumeric characters except for periods and underscores ('.' and '_'), as these are often used in variable names.

tidy_variables(df)

Arguments

df

The dataframe, tibble, etc, with the variables you want to tidy.

Value

A dataframe, tibble, etc, with new and consistent cases for variable names.

Examples

# NOT RUN {
df <- tidy_variable(df)

# }