Technical requirements
Dataset: We will use the Classic Rock dataset, from FiveThirtyEight. To access the original dataset, go to https://github.com/fivethirtyeight/data/tree/master/classic-rock
All the code can be found in the book’s GitHub repository: https://github.com/PacktPublishing/Data-Wrangling-with-R/tree/main/Part2/Chapter6.
Here are the libraries to be used in this chapter:
library(tidyverse) library(lubridate)