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 10000000 Weapons                       2025 867094  weapons-2025  tt26… 1078…
#>  2  8100000 Jaws                          1975 457     jaws-1975     tt00… 578  
#>  3  7800000 Caught Stealing               2025 1009138 caught-steal… tt14… 1245…
#>  4  6500000 Freakier Friday               2025 905524  freakier-fri… tt31… 1125…
#>  5  6400000 The Roses                     2025 1029272 the-roses-20… tt31… 1267…
#>  6  4800000 The Fantastic 4: First Steps  2025 460087  the-fantasti… tt10… 6171…
#>  7  4700000 The Bad Guys 2                2025 948183  the-bad-guys… tt30… 1175…
#>  8  2600000 Superman                      2025 853702  superman-2025 tt59… 1061…
#>  9  1800000 Nobody 2                      2025 810123  nobody-2-2025 tt28… 1007…
#> 10  1800000 The Naked Gun                 2025 832642  the-naked-gu… tt34… 1035…