Skip to contents

Returns the top 10 grossing movies in the U.S. box office last weekend. Updated every Monday morning.

Usage

movies_boxoffice(extended = c("min", "full"))

Source

movies_boxoffice() wraps endpoint /movies/boxoffice.

Arguments

extended

character(1): Either "min" (API default) or "full". The latter returns more variables and should generally only be used if required. See vignette("tRakt") for more details.

Value

A tibble(). If the function has a limit parameter (defaulting to 10), this will be the (maximum) number of rows of the tibble. If there are no results (or the API is unreachable), an empty tibble() is returned.

Examples

movies_boxoffice()
#> # A tibble: 10 × 7
#>     revenue title                                   year trakt slug  imdb  tmdb 
#>       <int> <chr>                                  <int> <chr> <chr> <chr> <chr>
#>  1 45000000 Sinners                                 2025 9975… sinn… tt31… 1233…
#>  2 25000000 Star Wars: Episode III - Revenge of t…  2005 1270  star… tt01… 1895 
#>  3 24000000 The Accountant 2                        2025 6960… the-… tt70… 8700…
#>  4 23000000 A Minecraft Movie                       2025 7639… a-mi… tt35… 9503…
#>  5  8000000 Until Dawn                              2025 9968… unti… tt30… 1232…
#>  6  4000000 The King of Kings                       2025 9523… the-… tt79… 1181…
#>  7  3800000 The Amateur                             2025 8741… the-… tt08… 1087…
#>  8  2700000 Warfare                                 2025 1004… warf… tt31… 1241…
#>  9  2600000 Pink Floyd: Live at Pompeii             1972 15615 pink… tt00… 25771
#> 10  1400000 The Legend of Ochi                      2025 7193… the-… tt88… 8965…