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 43000000 Weapons                       2025 867094  weapons-2025  tt26… 1078…
#>  2 29000000 Freakier Friday               2025 905524  freakier-fri… tt31… 1125…
#>  3 16000000 The Fantastic 4: First Steps  2025 460087  the-fantasti… tt10… 6171…
#>  4 10000000 The Bad Guys 2                2025 948183  the-bad-guys… tt30… 1175…
#>  5  8400000 The Naked Gun                 2025 832642  the-naked-gu… tt34… 1035…
#>  6  7800000 Superman                      2025 853702  superman-2025 tt59… 1061…
#>  7  4700000 Jurassic World Rebirth        2025 998800  jurassic-wor… tt31… 1234…
#>  8  2800000 F1                            2025 729817  f1-2025       tt16… 9114…
#>  9  2600000 Together                      2025 1005421 together-2025 tt31… 1242…
#> 10  2500000 Sketch                        2025 1079176 sketch-2025   tt26… 1319…