This package includes a series of functions that give R users access to "Metacritic's" data. These data are obtained by scraping their website.
To install the most updated version from GitHub, type:
library(devtools)
devtools::install_github("metalyrics/rmetacritic")
First, you'll need docker on your pc.
Pull the browser's image:
$ sudo docker pull selenium/standalone-firefox
Run:
$ sudo docker run -d -p 4445:4444 --shm-size 2g selenium/standalone-firefox
Now you're ready to use the package.
best_2018_albums <- rmetacritic::get_best_albums_per_year("2018")