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 17000000 Chainsaw Man - The Movie: Reze Arc    2025 983519  chai… tt30… 1218…
#>  2 13000000 Black Phone 2                         2025 965839  blac… tt29… 1197…
#>  3 13000000 Regretting You                        2025 1086230 regr… tt33… 1327…
#>  4  9100000 Springsteen: Deliver Me from Nowhere  2025 994890  spri… tt31… 1230…
#>  5  4900000 TRON: Ares                            2025 385396  tron… tt66… 5335…
#>  6  3100000 Good Fortune                          2025 897095  good… tt27… 1114…
#>  7  2400000 Shelby Oaks                           2025 752846  shel… tt14… 9379…
#>  8  2300000 One Battle After Another              2025 848797  one-… tt30… 1054…
#>  9  2000000 Roofman                               2025 1005789 roof… tt46… 1242…
#> 10   933000 Truth & Treason                       2025 1181859 trut… tt21… 1443…