Data Science Desktop Survival Guide
by Graham Williams |
|||||
Chapter: R Constructs |
Obtain the weatherAUS dataset from the rattle package; clean up the column names using the clean_names function from the janitor package, choosing to align numerals to the right; save the resulting dataset into an R variable named ds.
rattle::weatherAUS %>%
janitor::clean_names(numerals="right") -> ds For reference the resulting column names (variables) are: |
names(ds)
|