Download Information on Box Office Results for Movies

boxoffice(dates, top_n = NULL)

Arguments

dates

A vector of dates to scrape

top_n

The number of results to return for each day. If NULL (default) returns all results, otherwise just top n results (e.g. top_n = 5, returns 5 top movies per date).

Value

Data frame returning info on the name of the movie, its daily gross, gross-to-date, and gross-per-theater for each date inputted.

Examples

boxoffice(dates = as.Date("2017-12-25"))
#> movie distributor gross percent_change #> 1 Star Wars Ep. VIII: The L Walt Disney 27459557 56 #> 2 Jumanji: Welcome to the J Sony Pictures 19138553 111 #> 3 Pitch Perfect 3 Universal 6496365 147 #> 4 The Greatest Showman 20th Century 5604273 162 #> 5 Coco Walt Disney 2805466 113 #> 6 Ferdinand 20th Century 2801780 84 #> 7 Downsizing Paramount Pi 2715843 135 #> 8 All the Money in the World Sony Pictures 2565393 NA #> 9 Father Figures Warner Bros. 2192067 200 #> 10 Darkest Hour Focus Features 1622510 73 #> 11 The Shape of Water Fox Searchlight 1419891 95 #> 12 Mollys Game STX Entertai 1172036 NA #> 13 Wonder Lionsgate 710214 77 #> 14 Daddys Home 2 Paramount Pi 544612 149 #> 15 Justice League Warner Bros. 435091 76 #> 16 Lady Bird A24 415989 60 #> 17 Thor: Ragnarok Walt Disney 329457 64 #> 18 The Disaster Artist A24 325057 77 #> 19 The Star Sony Pictures 238704 -13 #> 20 The Post 20th Century 236046 35 #> 21 I, Tonya Neon 210755 109 #> 22 Three Billboards Outside Fox Searchlight 207975 42 #> 23 Murder on the Orient Express 20th Century 203411 58 #> 24 Phantom Thread Focus Features 127272 NA #> 25 A Bad Moms Christmas STX Entertai 60302 122 #> 26 Wonder Wheel Amazon Studios 42778 67 #> 27 The Man Who Invented Chri Bleecker Street 33190 48 #> 28 Jane Abramorama F 27215 NA #> 29 Geostorm Warner Bros. 16062 169 #> 30 Only the Brave Sony Pictures 9790 145 #> 31 Hostiles Entertainmen 9606 65 #> 32 The Florida Project A24 9430 46 #> 33 Blade Runner 2049 Warner Bros. 8433 52 #> 34 Roman J. Israel, Esq. Sony Pictures 4786 63 #> 35 Same Kind of Different as Me Pure Flix En 3069 135 #> 36 Victoria and Abdul Focus Features 2840 114 #> 37 Big Sonia Argot Pictures 2311 53 #> 38 Marshall Open Road 1937 83 #> 39 The Breadwinner GKIDS 792 27 #> 40 Let There Be Light Atlas Distri 736 1 #> 41 The Killing of a Sacred Deer A24 602 3 #> 42 Thelma The Orchard 593 56 #> 43 BPM (Beats per Minute) The Orchard 160 -35 #> 44 Birdboy: The Forgotten Ch GKIDS 117 -25 #> theaters per_theater total_gross days date #> 1 4232 6489 395627411 11 2017-12-25 #> 2 3765 5083 71913848 6 2017-12-25 #> 3 3447 1885 26424890 4 2017-12-25 #> 4 3006 1864 19008847 6 2017-12-25 #> 5 2111 1329 164307743 34 2017-12-25 #> 6 3630 772 29601410 11 2017-12-25 #> 7 2668 1018 7670130 4 2017-12-25 #> 8 2074 1237 2565393 1 2017-12-25 #> 9 2902 755 5479518 4 2017-12-25 #> 10 806 2013 8367532 34 2017-12-25 #> 11 730 1945 8986046 25 2017-12-25 #> 12 271 4325 1172036 1 2017-12-25 #> 13 1130 629 115654826 39 2017-12-25 #> 14 1073 508 99751582 46 2017-12-25 #> 15 1101 395 223128877 39 2017-12-25 #> 16 402 1035 28715314 53 2017-12-25 #> 17 701 470 309454093 53 2017-12-25 #> 18 517 629 16020034 25 2017-12-25 #> 19 1106 216 38594870 39 2017-12-25 #> 20 9 26227 762057 4 2017-12-25 #> 21 42 5018 1277150 18 2017-12-25 #> 22 264 788 22949085 46 2017-12-25 #> 23 361 563 99444878 46 2017-12-25 #> 24 4 31818 127272 1 2017-12-25 #> 25 275 219 71571546 55 2017-12-25 #> 26 113 379 1205919 25 2017-12-25 #> 27 146 227 5419083 34 2017-12-25 #> 28 19 1432 1432348 67 2017-12-25 #> 29 110 146 33473188 67 2017-12-25 #> 30 86 114 18106612 67 2017-12-25 #> 31 3 3202 32455 4 2017-12-25 #> 32 43 219 5204890 81 2017-12-25 #> 33 75 112 91564672 81 2017-12-25 #> 34 49 98 11825352 39 2017-12-25 #> 35 45 68 6370123 67 2017-12-25 #> 36 24 118 22205730 95 2017-12-25 #> 37 3 770 94741 39 2017-12-25 #> 38 58 33 9450507 74 2017-12-25 #> 39 10 79 210278 39 2017-12-25 #> 40 8 92 7205484 60 2017-12-25 #> 41 8 75 2289084 67 2017-12-25 #> 42 9 66 127398 46 2017-12-25 #> 43 1 160 92117 67 2017-12-25 #> 44 1 117 12620 11 2017-12-25
# Returns only top 10 (daily) grossing movies boxoffice(dates = as.Date("2017-12-25"), top_n = 10)
#> movie distributor gross percent_change theaters #> 1 Star Wars Ep. VIII: The L Walt Disney 27459557 56 4232 #> 2 Jumanji: Welcome to the J Sony Pictures 19138553 111 3765 #> 3 Pitch Perfect 3 Universal 6496365 147 3447 #> 4 The Greatest Showman 20th Century 5604273 162 3006 #> 5 Coco Walt Disney 2805466 113 2111 #> 6 Ferdinand 20th Century 2801780 84 3630 #> 7 Downsizing Paramount Pi 2715843 135 2668 #> 8 All the Money in the World Sony Pictures 2565393 NA 2074 #> 9 Father Figures Warner Bros. 2192067 200 2902 #> 10 Darkest Hour Focus Features 1622510 73 806 #> per_theater total_gross days date #> 1 6489 395627411 11 2017-12-25 #> 2 5083 71913848 6 2017-12-25 #> 3 1885 26424890 4 2017-12-25 #> 4 1864 19008847 6 2017-12-25 #> 5 1329 164307743 34 2017-12-25 #> 6 772 29601410 11 2017-12-25 #> 7 1018 7670130 4 2017-12-25 #> 8 1237 2565393 1 2017-12-25 #> 9 755 5479518 4 2017-12-25 #> 10 2013 8367532 34 2017-12-25
# Uses the dates of Christmas and New Years Eve 2017 boxoffice(dates = as.Date(c("2017-12-25", "2017-12-31")))
#> movie distributor gross percent_change #> 1 Star Wars Ep. VIII: The L Walt Disney 27459557 56 #> 2 Jumanji: Welcome to the J Sony Pictures 19138553 111 #> 3 Pitch Perfect 3 Universal 6496365 147 #> 4 The Greatest Showman 20th Century 5604273 162 #> 5 Coco Walt Disney 2805466 113 #> 6 Ferdinand 20th Century 2801780 84 #> 7 Downsizing Paramount Pi 2715843 135 #> 8 All the Money in the World Sony Pictures 2565393 NA #> 9 Father Figures Warner Bros. 2192067 200 #> 10 Darkest Hour Focus Features 1622510 73 #> 11 The Shape of Water Fox Searchlight 1419891 95 #> 12 Mollys Game STX Entertai 1172036 NA #> 13 Wonder Lionsgate 710214 77 #> 14 Daddys Home 2 Paramount Pi 544612 149 #> 15 Justice League Warner Bros. 435091 76 #> 16 Lady Bird A24 415989 60 #> 17 Thor: Ragnarok Walt Disney 329457 64 #> 18 The Disaster Artist A24 325057 77 #> 19 The Star Sony Pictures 238704 -13 #> 20 The Post 20th Century 236046 35 #> 21 I, Tonya Neon 210755 109 #> 22 Three Billboards Outside Fox Searchlight 207975 42 #> 23 Murder on the Orient Express 20th Century 203411 58 #> 24 Phantom Thread Focus Features 127272 NA #> 25 A Bad Moms Christmas STX Entertai 60302 122 #> 26 Wonder Wheel Amazon Studios 42778 67 #> 27 The Man Who Invented Chri Bleecker Street 33190 48 #> 28 Jane Abramorama F 27215 NA #> 29 Geostorm Warner Bros. 16062 169 #> 30 Only the Brave Sony Pictures 9790 145 #> 31 Hostiles Entertainmen 9606 65 #> 32 The Florida Project A24 9430 46 #> 33 Blade Runner 2049 Warner Bros. 8433 52 #> 34 Roman J. Israel, Esq. Sony Pictures 4786 63 #> 35 Same Kind of Different as Me Pure Flix En 3069 135 #> 36 Victoria and Abdul Focus Features 2840 114 #> 37 Big Sonia Argot Pictures 2311 53 #> 38 Marshall Open Road 1937 83 #> 39 The Breadwinner GKIDS 792 27 #> 40 Let There Be Light Atlas Distri 736 1 #> 41 The Killing of a Sacred Deer A24 602 3 #> 42 Thelma The Orchard 593 56 #> 43 BPM (Beats per Minute) The Orchard 160 -35 #> 44 Birdboy: The Forgotten Ch GKIDS 117 -25 #> 45 Star Wars Ep. VIII: The L Walt Disney 13566649 -32 #> 46 Jumanji: Welcome to the J Sony Pictures 12989945 -33 #> 47 The Greatest Showman 20th Century 4436321 -23 #> 48 Pitch Perfect 3 Universal 3565285 -46 #> 49 Ferdinand 20th Century 2757842 -33 #> 50 Coco Walt Disney 1852339 -33 #> 51 Darkest Hour Focus Features 1771920 -10 #> 52 All the Money in the World Sony Pictures 1749655 -16 #> 53 Downsizing Paramount Pi 1273053 -31 #> 54 Father Figures Warner Bros. 1095601 -27 #> 55 The Shape of Water Fox Searchlight 996207 -27 #> 56 Wonder Lionsgate 847181 -28 #> 57 Mollys Game STX Entertai 729998 -17 #> 58 Lady Bird A24 387940 -32 #> 59 Justice League Warner Bros. 276222 -44 #> 60 Daddys Home 2 Paramount Pi 244693 -33 #> 61 Thor: Ragnarok Walt Disney 206623 -40 #> 62 Three Billboards Outside Fox Searchlight 201312 -24 #> 63 The Disaster Artist A24 200119 -49 #> 64 The Post 20th Century 186640 -8 #> 65 Murder on the Orient Express 20th Century 176205 -24 #> 66 I, Tonya Neon 155000 -38 #> 67 The Star Sony Pictures 98913 -46 #> 68 Phantom Thread Focus Features 63340 -23 #> 69 A Bad Moms Christmas STX Entertai 32523 -51 #> 70 The Man Who Invented Chri Bleecker Street 17652 -31 #> 71 The Florida Project A24 11940 -46 #> 72 Geostorm Warner Bros. 11702 -51 #> 73 Wonder Wheel Amazon Studios 11088 -21 #> 74 Blade Runner 2049 Warner Bros. 10427 -48 #> 75 Only the Brave Sony Pictures 9765 -46 #> 76 Hostiles Entertainmen 9739 -26 #> 77 Victoria and Abdul Focus Features 3485 -28 #> 78 Same Kind of Different as Me Pure Flix En 2919 -38 #> 79 Marshall Open Road 2687 -42 #> 80 Roman J. Israel, Esq. Sony Pictures 2322 -54 #> 81 Big Sonia Argot Pictures 2298 -45 #> 82 The Breadwinner GKIDS 528 -76 #> 83 Let There Be Light Atlas Distri 504 -53 #> 84 Thelma The Orchard 245 -63 #> theaters per_theater total_gross days date #> 1 4232 6489 395627411 11 2017-12-25 #> 2 3765 5083 71913848 6 2017-12-25 #> 3 3447 1885 26424890 4 2017-12-25 #> 4 3006 1864 19008847 6 2017-12-25 #> 5 2111 1329 164307743 34 2017-12-25 #> 6 3630 772 29601410 11 2017-12-25 #> 7 2668 1018 7670130 4 2017-12-25 #> 8 2074 1237 2565393 1 2017-12-25 #> 9 2902 755 5479518 4 2017-12-25 #> 10 806 2013 8367532 34 2017-12-25 #> 11 730 1945 8986046 25 2017-12-25 #> 12 271 4325 1172036 1 2017-12-25 #> 13 1130 629 115654826 39 2017-12-25 #> 14 1073 508 99751582 46 2017-12-25 #> 15 1101 395 223128877 39 2017-12-25 #> 16 402 1035 28715314 53 2017-12-25 #> 17 701 470 309454093 53 2017-12-25 #> 18 517 629 16020034 25 2017-12-25 #> 19 1106 216 38594870 39 2017-12-25 #> 20 9 26227 762057 4 2017-12-25 #> 21 42 5018 1277150 18 2017-12-25 #> 22 264 788 22949085 46 2017-12-25 #> 23 361 563 99444878 46 2017-12-25 #> 24 4 31818 127272 1 2017-12-25 #> 25 275 219 71571546 55 2017-12-25 #> 26 113 379 1205919 25 2017-12-25 #> 27 146 227 5419083 34 2017-12-25 #> 28 19 1432 1432348 67 2017-12-25 #> 29 110 146 33473188 67 2017-12-25 #> 30 86 114 18106612 67 2017-12-25 #> 31 3 3202 32455 4 2017-12-25 #> 32 43 219 5204890 81 2017-12-25 #> 33 75 112 91564672 81 2017-12-25 #> 34 49 98 11825352 39 2017-12-25 #> 35 45 68 6370123 67 2017-12-25 #> 36 24 118 22205730 95 2017-12-25 #> 37 3 770 94741 39 2017-12-25 #> 38 58 33 9450507 74 2017-12-25 #> 39 10 79 210278 39 2017-12-25 #> 40 8 92 7205484 60 2017-12-25 #> 41 8 75 2289084 67 2017-12-25 #> 42 9 66 127398 46 2017-12-25 #> 43 1 160 92117 67 2017-12-25 #> 44 1 117 12620 11 2017-12-25 #> 45 4232 3206 517218368 17 2017-12-31 #> 46 3765 3450 169002557 12 2017-12-31 #> 47 3316 1338 49036718 12 2017-12-31 #> 48 3468 1028 63300605 10 2017-12-31 #> 49 3337 826 53546717 17 2017-12-31 #> 50 2104 880 179834199 40 2017-12-31 #> 51 943 1879 18132857 40 2017-12-31 #> 52 2074 844 12712380 7 2017-12-31 #> 53 2664 478 17160674 10 2017-12-31 #> 54 2902 378 12885287 10 2017-12-31 #> 55 756 1318 15670177 31 2017-12-31 #> 56 1193 710 121559294 45 2017-12-31 #> 57 271 2694 5377480 7 2017-12-31 #> 58 392 990 31432463 59 2017-12-31 #> 59 1215 227 225546295 45 2017-12-31 #> 60 1073 228 101791381 52 2017-12-31 #> 61 540 383 311225150 59 2017-12-31 #> 62 266 757 24164629 52 2017-12-31 #> 63 507 395 17861795 31 2017-12-31 #> 64 9 20738 1760121 10 2017-12-31 #> 65 391 451 100619624 52 2017-12-31 #> 66 49 3163 2351336 24 2017-12-31 #> 67 661 150 39963949 45 2017-12-31 #> 68 4 15835 527840 7 2017-12-31 #> 69 214 152 71891988 61 2017-12-31 #> 70 146 121 5575759 40 2017-12-31 #> 71 33 362 5297299 87 2017-12-31 #> 72 110 106 33578782 73 2017-12-31 #> 73 55 202 1306606 31 2017-12-31 #> 74 75 139 91654512 87 2017-12-31 #> 75 86 114 18181288 73 2017-12-31 #> 76 5 1948 85745 10 2017-12-31 #> 77 23 152 22233285 101 2017-12-31 #> 78 40 73 6394006 73 2017-12-31 #> 79 50 54 9468318 80 2017-12-31 #> 80 33 70 11851274 45 2017-12-31 #> 81 1 2298 113604 45 2017-12-31 #> 82 10 53 220307 45 2017-12-31 #> 83 8 63 7210068 66 2017-12-31 #> 84 6 41 132011 52 2017-12-31