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 35000000 The Wild Robot           2024 955488 the-wild-robot-2024 tt29… 1184…
#>  2 16000000 Beetlejuice Beetlejuice  2024 734869 beetlejuice-beetle… tt20… 9174…
#>  3  9300000 Transformers One         2024 542273 transformers-one-2… tt88… 6986…
#>  4  5600000 Devara: Part 1           2024 645675 devara-part-1-2024  tt11… 8119…
#>  5  4300000 Speak No Evil            2024 896755 speak-no-evil-2024  tt27… 1114…
#>  6  4000000 Megalopolis              2024 438908 megalopolis-2024    tt10… 5928…
#>  7  2700000 Deadpool & Wolverine     2024 395672 deadpool-wolverine… tt62… 5335…
#>  8  2200000 My Old Ass               2024 761649 my-old-ass-2024     tt18… 9478…
#>  9  2200000 Never Let Go             2024 648441 never-let-go-2024   tt14… 8148…
#> 10  1800000 The Substance            2024 748546 the-substance-2024  tt17… 9332…