Categorical data with R. Using the forcats package to manipulate factor variables.