lowercase all names for a dataframe

lowercase_names(df)

Arguments

df

data frame to lowercase names

Details

is a simple wrapper function to reduce typing and more easily pass data as it is read from a file

Examples

# NOT RUN {
df <- lowercase_names(df)
# make sure all names are lowered as a file is read
df <- lowercase_names(read.csv(...))
# or via dplyr pipe syntax
df <- read.csv(...) %>% lowercase_names
# }