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("finding-things") 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 26000000 Civil War                              2024 745438 civi… tt17… 9295…
#>  2 15000000 Godzilla x Kong: The New Empire        2024 656266 godz… tt14… 8234…
#>  3  5800000 Ghostbusters: Frozen Empire            2024 778125 ghos… tt21… 9678…
#>  4  5500000 Kung Fu Panda 4                        2024 813333 kung… tt21… 1011…
#>  5  4300000 Dune: Part Two                         2024 537449 dune… tt15… 6931…
#>  6  4099999 Monkey Man                             2024 525826 monk… tt92… 5600…
#>  7  3800000 The First Omen                         2024 304347 the-… tt56… 4373…
#>  8  1400000 The Long Game                          2024 868029 the-… tt77… 1079…
#>  9  1400000 Shrek 2                                2004 652    shre… tt02… 809  
#> 10   991000 SUGA | Agust D TOUR ‘D-DAY’ THE MOVIE  2024 10171… suga… tt31… 1254…