movieinfo: Scraps mojoboxoffice.com for revenue data

Description Usage Arguments Value

Description

This function scraps boxofficemojo.com and downloads box office data and other info on a series of movies.

Usage

1
movieinfo(movies, cpi = NA, ruta = "~/movieinfo.csv")

Arguments

movies

character. A string of box office mojo movie ids. You can get them from the id column of a csv extract of mojo() function.

cpi

numeric. A year to adjust the inflation of the revenue data. If 1 is selected it will retrieve the estimated number of tickets as well.

ruta

character. A valid path in your computer where you want to create the csv file. By default the csv named movieinfo will be created in the working directory.

Value

It returns a csv in the specified path


meneos/mojoscrapeR documentation built on May 5, 2019, 12:31 a.m.