top_grossing: Get the top N ranking grossing movies
Description
Get the top N ranking grossing movies
Usage
top_grossing(type = "american", ranks = 1:100)
Arguments
type
A string that says which type of box office sorted ranking you want. Options are
'american' (American box office), 'international' (non-American) and
'worldwide' (domestic + international box office).
ranks
A vector of rankings you want it to return. For example.
an input of 1:5 will return the top 5 grossing movies.
Value
Data frame returning info on the name of the movie, it's rank,
the year the movie was released, and the total gross from
domestic (American), international, and total ticket sales.