Skip to content

metalyrics/rmetacritic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmetacritic

Build Status

This package includes a series of functions that give R users access to "Metacritic's" data. These data are obtained by scraping their website.

Installation

To install the most updated version from GitHub, type:

library(devtools)
devtools::install_github("metalyrics/rmetacritic")

Usage

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.

Example

best_2018_albums <- rmetacritic::get_best_albums_per_year("2018")

Contributors