international: Scraps mojoboxoffice.com for revenue data

Description Usage Arguments Value

Description

This function scraps boxofficemojo.com and downloads rank, lifetime gross box office data, year, and id from the domestic ranking: 'http://www.boxofficemojo.com/alltime/domestic.htm'.

Usage

1
international(ctry, wk, yr, path, serverHelp = TRUE)

Arguments

ctry

character. Country from which you want to scrap revenue data. Make sure you type it the exact same way as the url. For example: http://www.boxofficemojo.com/intl/australia/?yr=2018&wk=23&p=.htm

wk

integer. A numeric value or vector that indicates which weeks of the year you want to scrap. For example: 34 will scrap the 34th week. 1:52 will scrap the 52 weeks of the given year.

yr

integer.A numeric value or vector that indicates which year you want to scrap.

path

character. A valid path in your computer where you want to create the csv file.

serverHelp

logical. Indicates if you want mojoscRaper to initiate a Docker server or you will initiate it youself. TRUE by default. Remember that this function NEEDS a Docker server running

Value

It returns a csv in the specified path


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