domesticRank: 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
domesticRank(pages, ruta = "~/Domestic_rank.csv")

Arguments

pages

numeric. Number of pages you want to scrap from box office mojo's domestic ranking.

ruta

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