# NOT RUN {
# not run:
# clean_names(poorly_named_df)
# or pipe in the input data.frame:
# poorly_named_df %>% clean_names()
# if you prefer camelCase variable names:
# poorly_named_df %>% clean_names(., "small_camel")
# not run:
# library(readxl)
# read_excel("messy_excel_file.xlsx") %>% clean_names()
# }
Run the code above in your browser using DataLab