Convert variable names to snake_case.

snake_case(df)

period.case(df)

camelCase(df)

Arguments

df

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

Value

A dataframe, tibble, data.table, etc, with snake_case style variable names.

A dataframe, tibble, data.table, etc, with period.case style variable names.

A dataframe, tibble, data.table, etc, with camelCase style variable names.