1. Learn
  2. /
  3. Courses
  4. /
  5. Cleaning Data in R

Exercise

Removing partial duplicates

Now that you've identified and removed the full duplicates, it's time to check for partial duplicates. Partial duplicates are a bit tricker to deal with than full duplicates. In this exercise, you'll first identify any partial duplicates and then practice the most common technique to deal with them, which involves dropping all partial duplicates, keeping only the first.

dplyr is loaded and bike_share_rides is available.

Instructions 1/3

undefined XP
    1
    2
    3
  • Count the number of occurrences of each ride_id.
  • Filter for ride_ids that occur multiple times.