Session Ready
Exercise

Using miss_scan_count

You have a dataset with missing values coded as "N/A", "missing", and "na". But before we go ahead and start replacing these with NA, we should get an idea of how big the problem is.

Use miss_scan_count to count the possible missings in the dataset, pacman, a dataset of pacman scores, containing three columns:

  • year: the year that person made that score.
  • initial: the initials of the person.
  • score: the scores of that person.
Instructions
100 XP

For the pacman dataset, use miss_scan_count() to search for strange missing values:

  • "N/A", "missing", "na", and " " (a single space).
  • To search for strange missing values all at once.