Session Ready
Exercise

Masterclass: Tidy I

In the last three exercises, you'll tidy the ratings data to create a scatterplot to see the relationship between the number of premiere and finale UK viewers (7-day only) by series.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Create a new tibble called tidy_ratings by gathering the 7-day viewer data by episode (all columns except series), removing the rows from output where the value column in NA. The key column should be named episode, the value should be viewers.