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 114000000 Wicked                              2024 290190 wicked… tt12… 4024…
#>  2  56000000 Gladiator II                        2024 409281 gladia… tt92… 5584…
#>  3  13000000 Red One                             2024 675565 red-on… tt14… 8457…
#>  4   5100000 Bonhoeffer: Pastor. Spy. Assassin.  2024 867695 bonhoe… tt26… 1079…
#>  5   4000000 Venom: The Last Dance               2024 730642 venom-… tt16… 9126…
#>  6   3500000 The Best Christmas Pageant Ever     2024 971540 the-be… tt23… 1206…
#>  7   2200000 Heretic                             2024 916302 hereti… tt28… 1138…
#>  8   2000000 The Wild Robot                      2024 955488 the-wi… tt29… 1184…
#>  9   1100000 Smile 2                             2024 885510 smile-… tt29… 1100…
#> 10   1100000 A Real Pain                         2024 815128 a-real… tt21… 1013…