powered by
Resulting names are unique and consist only of the _ character, lowercase letters, and numbers.
_
clean_names(dat)
the input data.frame.
Returns the data.frame with clean names.
# NOT RUN { # not run: # clean_names(poorly_named_df) # library(readxl) # not run: # readxl("messy_excel_file.xlsx") %>% clean_names() # }
Run the code above in your browser using DataLab