mojo: Scraps mojoboxoffice.com for revenue data

Description Usage Arguments Value

Description

This function scraps boxofficemojo.com and downloads box office data of each day in a given interval.

Usage

1
mojo(from, to, cpi = NA, ruta = "~/mojo.csv")

Arguments

from

character. A date in YYYY-MM-DD format.

to

character. A date in YYYY-MM-DD format.

cpi

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

ruta

character. A valid path in your computer where you want to create the csv file. By default the csv named mojo 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.