lowercase all names for a dataframe
lowercase_names(df)
df | data frame to lowercase names |
---|
is a simple wrapper function to reduce typing and more easily pass data as it is read from a file
# 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 # }