Description Usage Arguments Value Examples
Get the top N ranking grossing movies
1 | top_grossing(type = "american", ranks = 1:100)
|
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. |
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.
1 2 3 4 5 6 | top_grossing()
top_grossing(ranks = 1:5)
top_grossing(type = "international")
top_grossing(type = "international", ranks = 1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.