top_grossing

0th

Percentile

Get the top N ranking grossing movies

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.

Aliases
  • top_grossing
Examples
# NOT RUN {
top_grossing()

top_grossing(ranks = 1:5)

top_grossing(type = "international")
top_grossing(type = "international", ranks = 1:10)
# }
Documentation reproduced from package boxoffice, version 1.2.1, License: GPL

Community examples

Looks like there are no examples yet.