Collapsing categories
One of the tablets that participants filled out the sfo_survey on was not properly configured, allowing the response for dest_region to be free text instead of a dropdown menu. This resulted in some inconsistencies in the dest_region variable that you'll need to correct in this exercise to ensure that the numbers you report to your boss are as accurate as possible.
dplyr and forcats are loaded and sfo_survey is available.
Cet exercice fait partie du cours
Cleaning Data in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Count categories of dest_region
sfo_survey %>%
___