1.4 Data cleaning and processing

We will now move to cleaning our data starting with variable names. Often variable names have capital letters or spaces which are not ideal for our limited cognitive ability so it is easier to make all variables lower capital and no spaces. That’s what clean_names() does. This function is part of the janitor library so we will need to call it.

sesame13 <- clean_names(sesame13)