IniziaInizia gratis

Identifying inconsistency

In the video exercise, you learned about different kinds of inconsistencies that can occur within categories, making it look like a variable has more categories than it should.

In this exercise, you'll continue working with the sfo_survey dataset. You'll examine the dest_size column again as well as the cleanliness column and determine what kind of issues, if any, these two categorical variables face.

dplyr and is loaded and sfo_survey is available.

Questo esercizio fa parte del corso

Cleaning Data in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Count dest_size
sfo_survey %>%
  ___
Modifica ed esegui il codice