Get the top N ranking grossing movies
top_grossing(type = "american", ranks = 1:100)
type | A string that says which type of box office sorted ranking you want. Options are 'american' (American box office), 'international' (non-American) and 'worldwide' (domestic + international box office). |
---|---|
ranks | A vector of integers for the rankings you want it to return. For example. an input of 1:5 will return the top 5 grossing movies. |
Data frame returning info on the name of the movie, it's rank, the year the movie was released, and the total gross from domestic (American), international, and total ticket sales.
top_grossing()#>#> rank movie year_released #> 1 1 Star Wars Ep. VII: The Force Awakens 2015 #> 2 2 Avengers: Endgame 2019 #> 3 3 Avatar 2009 #> 4 4 Black Panther 2018 #> 5 5 Avengers: Infinity War 2018 #> 6 6 Titanic 1997 #> 7 7 Jurassic World 2015 #> 8 8 The Avengers 2012 #> 9 9 Star Wars Ep. VIII: The Last Jedi 2017 #> 10 10 Incredibles 2 2018 #> 11 11 The Lion King 2019 #> 12 12 The Dark Knight 2008 #> 13 13 Rogue One: A Star Wars Story 2016 #> 14 14 Beauty and the Beast 2017 #> 15 15 Finding Dory 2016 #> 16 16 Star Wars Ep. I: The Phantom Menace 1999 #> 17 17 Star Wars Ep. IV: A New Hope 1977 #> 18 18 Avengers: Age of Ultron 2015 #> 19 19 The Dark Knight Rises 2012 #> 20 20 Shrek 2 2004 #> 21 21 ET: The Extra-Terrestrial 1982 #> 22 22 Toy Story 4 2019 #> 23 23 Captain Marvel 2019 #> 24 24 The Hunger Games: Catching Fire 2013 #> 25 25 Pirates of the Caribbean: Dead Man’s Chest 2006 #> 26 26 The Lion King 1994 #> 27 27 Jurassic World: Fallen Kingdom 2018 #> 28 28 Toy Story 3 2010 #> 29 29 Wonder Woman 2017 #> 30 30 Iron Man 3 2013 #> 31 31 Captain America: Civil War 2016 #> 32 32 The Hunger Games 2012 #> 33 33 Spider-Man 2002 #> 34 34 Jumanji: Welcome to the Jungle 2017 #> 35 35 Jurassic Park 1993 #> 36 36 Transformers: Revenge of the Fallen 2009 #> 37 37 Frozen 2013 #> 38 38 Spider-Man: Far From Home 2019 #> 39 39 Guardians of the Galaxy Vol 2 2017 #> 40 40 Harry Potter and the Deathly Hallows: Part II 2011 #> 41 41 Finding Nemo 2003 #> 42 42 Star Wars Ep. III: Revenge of the Sith 2005 #> 43 43 The Lord of the Rings: The Return of the King 2003 #> 44 44 Spider-Man 2 2004 #> 45 45 The Passion of the Christ 2004 #> 46 46 The Secret Life of Pets 2016 #> 47 47 Despicable Me 2 2013 #> 48 48 The Jungle Book 2016 #> 49 49 Deadpool 2016 #> 50 50 Inside Out 2015 #> 51 51 Aladdin 2019 #> 52 52 Furious 7 2015 #> 53 53 Transformers: Dark of the Moon 2011 #> 54 54 American Sniper 2014 #> 55 55 The Lord of the Rings: The Two Towers 2002 #> 56 56 Zootopia 2016 #> 57 57 The Hunger Games: Mockingjay - Part 1 2014 #> 58 58 Spider-Man 3 2007 #> 59 59 Minions 2015 #> 60 60 Aquaman 2018 #> 61 61 Spider-Man: Homecoming 2017 #> 62 62 Alice in Wonderland 2010 #> 63 63 Guardians of the Galaxy 2014 #> 64 64 Batman v Superman: Dawn of Justice 2016 #> 65 65 Forrest Gump 1994 #> 66 66 Joker 2019 #> 67 67 It 2017 #> 68 68 Suicide Squad 2016 #> 69 69 Deadpool 2 2018 #> 70 70 Shrek the Third 2007 #> 71 71 Transformers 2007 #> 72 72 Iron Man 2008 #> 73 73 Harry Potter and the Sorcerer’s Stone 2001 #> 74 74 Indiana Jones and the Kingdom of the Crystal Skull 2008 #> 75 75 The Lord of the Rings: The Fellowship of the Ring 2001 #> 76 76 Thor: Ragnarok 2017 #> 77 77 Iron Man 2 2010 #> 78 78 Star Wars Ep. II: Attack of the Clones 2002 #> 79 79 Pirates of the Caribbean: At World’s End 2007 #> 80 80 Star Wars Ep. VI: Return of the Jedi 1983 #> 81 81 Independence Day 1996 #> 82 82 Pirates of the Caribbean: The Curse of the Blac… 2003 #> 83 83 Skyfall 2012 #> 84 84 The Hobbit: An Unexpected Journey 2012 #> 85 85 Harry Potter and the Half-Blood Prince 2009 #> 86 86 The Twilight Saga: Eclipse 2010 #> 87 87 The Twilight Saga: New Moon 2009 #> 88 88 Harry Potter and the Deathly Hallows: Part I 2010 #> 89 89 The Sixth Sense 1999 #> 90 90 Up 2009 #> 91 91 Inception 2010 #> 92 92 The Twilight Saga: Breaking Dawn, Part 2 2012 #> 93 93 Harry Potter and the Order of the Phoenix 2007 #> 94 94 The Chronicles of Narnia: The Lion, the Witch a… 2005 #> 95 95 Man of Steel 2013 #> 96 96 Star Wars Ep. V: The Empire Strikes Back 1980 #> 97 97 Harry Potter and the Goblet of Fire 2005 #> 98 98 Monsters, Inc. 2001 #> 99 99 Home Alone 1990 #> 100 100 The Hunger Games: Mockingjay - Part 2 2015 #> american_box_office international_box_office total_box_office #> 1 936662225 1131561399 2068223624 #> 2 858373000 1939427564 2797800564 #> 3 760507625 2029197650 2789705275 #> 4 700059566 646853595 1346913161 #> 5 678815482 1369544272 2048359754 #> 6 659363944 1548844451 2208208395 #> 7 652270625 996584239 1648854864 #> 8 623357910 895455078 1518812988 #> 9 620181382 712358507 1332539889 #> 10 608581744 634223615 1242805359 #> 11 543624567 1111810064 1655434631 #> 12 533720947 468275260 1001996207 #> 13 532177324 523879949 1056057273 #> 14 504014165 759506961 1263521126 #> 15 486295561 542275328 1028570889 #> 16 474544677 552500000 1027044677 #> 17 460998007 325600000 786598007 #> 18 459005868 944008095 1403013963 #> 19 448139099 636300000 1084439099 #> 20 441226247 495781885 937008132 #> 21 435110554 357854772 792965326 #> 22 434028296 639356585 1073384881 #> 23 426829839 701444955 1128274794 #> 24 424668047 440200000 864868047 #> 25 423315812 642900000 1066215812 #> 26 421785283 564429585 986214868 #> 27 417719760 888053039 1305772799 #> 28 415004880 653874642 1068879522 #> 29 412563408 408569970 821133378 #> 30 408992272 806400000 1215392272 #> 31 408084349 745200000 1153284349 #> 32 408010692 269912687 677923379 #> 33 407677927 418000000 825677927 #> 34 404508916 559987277 964496193 #> 35 402523348 643104279 1045627627 #> 36 402111870 434407829 836519699 #> 37 400738009 871731901 1272469910 #> 38 390532085 741395911 1131927996 #> 39 389813101 479300000 869113101 #> 40 381193157 960500000 1341693157 #> 41 380529370 555900000 936429370 #> 42 380270577 468728300 848998877 #> 43 377845905 763557436 1141403341 #> 44 373524485 421586185 795110670 #> 45 370782930 251558994 622341924 #> 46 368384330 518222082 886606412 #> 47 368065385 607151450 975216835 #> 48 364001123 598853424 962854547 #> 49 363070709 437954884 801025593 #> 50 356461711 501100000 857561711 #> 51 355559216 695134737 1050693953 #> 52 353007020 1165715774 1518722794 #> 53 352390543 771403536 1123794079 #> 54 350126372 197200000 547326372 #> 55 342548984 592150661 934699645 #> 56 341268248 695100000 1036368248 #> 57 337135885 429439246 766575131 #> 58 336530303 558329927 894860230 #> 59 336045770 824290403 1160336173 #> 60 335061807 811832833 1146894640 #> 61 334201140 545965210 880166350 #> 62 334191110 691300000 1025491110 #> 63 333172112 439600000 772772112 #> 64 330360194 537140087 867500281 #> 65 330151138 349699499 679850637 #> 66 329341522 709986847 1039328369 #> 67 327481748 372900000 700381748 #> 68 325100054 420959833 746059887 #> 69 324591735 462088822 786680557 #> 70 322719944 484610992 807330936 #> 71 319246193 389026399 708272592 #> 72 318604126 266567421 585171547 #> 73 317871467 657176139 975047606 #> 74 317101119 469534294 786635413 #> 75 315544750 571666235 887210985 #> 76 315058289 538900000 853958289 #> 77 312433331 308723058 621156389 #> 78 310676740 346018875 656695615 #> 79 309420425 654000000 963420425 #> 80 309205079 263500000 572705079 #> 81 306169255 511231623 817400878 #> 82 305410819 348900000 654310819 #> 83 304360277 806166704 1110526981 #> 84 303003568 714000000 1017003568 #> 85 302089278 633124489 935213767 #> 86 300531751 405571077 706102828 #> 87 296623634 390934093 687557727 #> 88 296131568 664300000 960431568 #> 89 293506292 379300000 672806292 #> 90 293004164 438459213 731463377 #> 91 292576195 542948447 835524642 #> 92 292324737 537400000 829724737 #> 93 292137260 650939197 943076457 #> 94 291710957 428828615 720539572 #> 95 291045518 376954000 667999518 #> 96 290271960 243889374 534161334 #> 97 290201752 606898042 897099794 #> 98 289423425 270334294 559757719 #> 99 285761243 190923432 476684675 #> 100 281723902 367262885 648986787top_grossing(ranks = 1:5)#>#> rank movie year_released american_box_office #> 1 1 Star Wars Ep. VII: The Force Awakens 2015 936662225 #> 2 2 Avengers: Endgame 2019 858373000 #> 3 3 Avatar 2009 760507625 #> 4 4 Black Panther 2018 700059566 #> 5 5 Avengers: Infinity War 2018 678815482 #> international_box_office total_box_office #> 1 1131561399 2068223624 #> 2 1939427564 2797800564 #> 3 2029197650 2789705275 #> 4 646853595 1346913161 #> 5 1369544272 2048359754top_grossing(type = "international")#>#> rank movie year_released #> 1 1 Avatar 2009 #> 2 2 Avengers: Endgame 2019 #> 3 3 Titanic 1997 #> 4 4 Avengers: Infinity War 2018 #> 5 5 Furious 7 2015 #> 6 6 Star Wars Ep. VII: The Force Awakens 2015 #> 7 7 The Lion King 2019 #> 8 8 The Fate of the Furious 2017 #> 9 9 Jurassic World 2015 #> 10 10 Harry Potter and the Deathly Hallows: Part II 2011 #> 11 11 Avengers: Age of Ultron 2015 #> 12 12 The Avengers 2012 #> 13 13 Jurassic World: Fallen Kingdom 2018 #> 14 14 Frozen 2013 #> 15 15 Transformers: Age of Extinction 2014 #> 16 16 Zhan Lang 2 2017 #> 17 17 Minions 2015 #> 18 18 Aquaman 2018 #> 19 19 Iron Man 3 2013 #> 20 20 Skyfall 2012 #> 21 21 Pirates of the Caribbean: On Stranger Tides 2011 #> 22 22 Transformers: Dark of the Moon 2011 #> 23 23 Despicable Me 3 2017 #> 24 24 The Lord of the Rings: The Return of the King 2003 #> 25 25 Beauty and the Beast 2017 #> 26 26 Captain America: Civil War 2016 #> 27 27 Spider-Man: Far From Home 2019 #> 28 28 Ice Age: Continental Drift 2012 #> 29 29 The Hobbit: An Unexpected Journey 2012 #> 30 30 Star Wars Ep. VIII: The Last Jedi 2017 #> 31 31 Joker 2019 #> 32 32 Ne Zha Zhi Mo Tong Jiang Shi 2019 #> 33 33 The Hobbit: The Desolation of Smaug 2013 #> 34 34 Captain Marvel 2019 #> 35 35 Aladdin 2019 #> 36 36 Zootopia 2016 #> 37 37 Liu Lang Di Qiu 2019 #> 38 38 Alice in Wonderland 2010 #> 39 39 The Hobbit: The Battle of the Five Armies 2014 #> 40 40 Bohemian Rhapsody 2018 #> 41 41 Spectre 2015 #> 42 42 Harry Potter and the Deathly Hallows: Part I 2010 #> 43 43 Ice Age: Dawn of the Dinosaurs 2009 #> 44 44 Harry Potter and the Sorcerer’s Stone 2001 #> 45 45 Pirates of the Caribbean: At World’s End 2007 #> 46 46 Toy Story 3 2010 #> 47 47 Harry Potter and the Order of the Phoenix 2007 #> 48 48 Black Panther 2018 #> 49 49 Jurassic Park 1993 #> 50 50 Pirates of the Caribbean: Dead Man’s Chest 2006 #> 51 51 Venom 2018 #> 52 52 Toy Story 4 2019 #> 53 53 The Dark Knight Rises 2012 #> 54 54 Incredibles 2 2018 #> 55 55 Harry Potter and the Half-Blood Prince 2009 #> 56 56 Harry Potter and the Chamber of Secrets 2002 #> 57 57 Pirates of the Caribbean: Dead Men Tell No Tales 2017 #> 58 58 Despicable Me 2 2013 #> 59 59 Harry Potter and the Goblet of Fire 2005 #> 60 60 The Jungle Book 2016 #> 61 61 Coco 2017 #> 62 62 The Lord of the Rings: The Two Towers 2002 #> 63 63 2012 2009 #> 64 64 Fast & Furious Presents: Hobbs & Shaw 2019 #> 65 65 Hong Hai Xing Dong 2018 #> 66 66 The Lord of the Rings: The Fellowship of the Ring 2001 #> 67 67 Fantastic Beasts and Where to Find Them 2016 #> 68 68 Mission: Impossible—Fallout 2018 #> 69 69 The Lion King 1994 #> 70 70 Jumanji: Welcome to the Jungle 2017 #> 71 71 Spider-Man 3 2007 #> 72 72 Finding Nemo 2003 #> 73 73 Star Wars Ep. I: The Phantom Menace 1999 #> 74 74 Mei Ren Yu 2016 #> 75 75 Fast and Furious 6 2013 #> 76 76 The Da Vinci Code 2006 #> 77 77 Harry Potter and the Prisoner of Azkaban 2004 #> 78 78 Spider-Man: Homecoming 2017 #> 79 79 Inception 2010 #> 80 80 Finding Dory 2016 #> 81 81 Tang Ren Jie Tan An 2 2018 #> 82 82 Thor: Ragnarok 2017 #> 83 83 The Twilight Saga: Breaking Dawn, Part 2 2012 #> 84 84 Batman v Superman: Dawn of Justice 2016 #> 85 85 Madagascar 3: Europe's Most Wanted 2012 #> 86 86 Rogue One: A Star Wars Story 2016 #> 87 87 The Secret Life of Pets 2016 #> 88 88 Shrek Forever After 2010 #> 89 89 Maleficent 2014 #> 90 90 X-Men: Days of Future Past 2014 #> 91 91 Independence Day 1996 #> 92 92 The Amazing Spider-Man 2 2014 #> 93 93 Dawn of the Planet of the Apes 2014 #> 94 94 Inside Out 2015 #> 95 95 Kung Fu Panda 2 2011 #> 96 96 Life of Pi 2012 #> 97 97 The Amazing Spider-Man 2012 #> 98 98 Shrek 2 2004 #> 99 99 Mission: Impossible—Rogue Nation 2015 #> 100 100 Fantastic Beasts: The Crimes of Grindelwald 2018 #> american_box_office international_box_office total_box_office #> 1 760507625 2029197650 2789705275 #> 2 858373000 1939427564 2797800564 #> 3 659363944 1548844451 2208208395 #> 4 678815482 1369544272 2048359754 #> 5 353007020 1165715774 1518722794 #> 6 936662225 1131561399 2068223624 #> 7 543624567 1111810064 1655434631 #> 8 225764765 1009081502 1234846267 #> 9 652270625 996584239 1648854864 #> 10 381193157 960500000 1341693157 #> 11 459005868 944008095 1403013963 #> 12 623357910 895455078 1518812988 #> 13 417719760 888053039 1305772799 #> 14 400738009 871731901 1272469910 #> 15 245439076 858614996 1104054072 #> 16 2721100 855881967 858603067 #> 17 336045770 824290403 1160336173 #> 18 335061807 811832833 1146894640 #> 19 408992272 806400000 1215392272 #> 20 304360277 806166704 1110526981 #> 21 241063875 804600000 1045663875 #> 22 352390543 771403536 1123794079 #> 23 264624300 770100410 1034724710 #> 24 377845905 763557436 1141403341 #> 25 504014165 759506961 1263521126 #> 26 408084349 745200000 1153284349 #> 27 390532085 741395911 1131927996 #> 28 161321843 718443294 879765137 #> 29 303003568 714000000 1017003568 #> 30 620181382 712358507 1332539889 #> 31 329341522 709986847 1039328369 #> 32 3695533 705101664 708797197 #> 33 258366855 702000000 960366855 #> 34 426829839 701444955 1128274794 #> 35 355559216 695134737 1050693953 #> 36 341268248 695100000 1036368248 #> 37 NA 692163684 692163684 #> 38 334191110 691300000 1025491110 #> 39 255119788 690457833 945577621 #> 40 216303339 687227217 903530556 #> 41 200074175 679546748 879620923 #> 42 296131568 664300000 960431568 #> 43 196573705 663128152 859701857 #> 44 317871467 657176139 975047606 #> 45 309420425 654000000 963420425 #> 46 415004880 653874642 1068879522 #> 47 292137260 650939197 943076457 #> 48 700059566 646853595 1346913161 #> 49 402523348 643104279 1045627627 #> 50 423315812 642900000 1066215812 #> 51 213511408 640117197 853628605 #> 52 434028296 639356585 1073384881 #> 53 448139099 636300000 1084439099 #> 54 608581744 634223615 1242805359 #> 55 302089278 633124489 935213767 #> 56 262233381 616991754 879225135 #> 57 172558876 615682261 788241137 #> 58 368065385 607151450 975216835 #> 59 290201752 606898042 897099794 #> 60 364001123 598853424 962854547 #> 61 209726015 597400000 807126015 #> 62 342548984 592150661 934699645 #> 63 166112167 591565581 757677748 #> 64 173810100 584980652 758790752 #> 65 1543547 576647204 578190751 #> 66 315544750 571666235 887210985 #> 67 234037575 568365278 802402853 #> 68 220159104 567297448 787456552 #> 69 421785283 564429585 986214868 #> 70 404508916 559987277 964496193 #> 71 336530303 558329927 894860230 #> 72 380529370 555900000 936429370 #> 73 474544677 552500000 1027044677 #> 74 3229457 551287214 554516671 #> 75 238679850 550620594 789300444 #> 76 217536138 550284321 767820459 #> 77 249757726 547149597 796907323 #> 78 334201140 545965210 880166350 #> 79 292576195 542948447 835524642 #> 80 486295561 542275328 1028570889 #> 81 1983984 542084590 544068574 #> 82 315058289 538900000 853958289 #> 83 292324737 537400000 829724737 #> 84 330360194 537140087 867500281 #> 85 216391482 530529789 746921271 #> 86 532177324 523879949 1056057273 #> 87 368384330 518222082 886606412 #> 88 238736787 517507886 756244673 #> 89 241407328 517129407 758536735 #> 90 233921534 513941241 747862775 #> 91 306169255 511231623 817400878 #> 92 202853933 506142403 708996336 #> 93 208545589 502098977 710644566 #> 94 356461711 501100000 857561711 #> 95 165249063 499588484 664837547 #> 96 124987022 495924981 620912003 #> 97 262030663 495859604 757890267 #> 98 441226247 495781885 937008132 #> 99 195042377 493816615 688858992 #> 100 159555901 492664185 652220086top_grossing(type = "international", ranks = 1:10)#>#> rank movie year_released #> 1 1 Avatar 2009 #> 2 2 Avengers: Endgame 2019 #> 3 3 Titanic 1997 #> 4 4 Avengers: Infinity War 2018 #> 5 5 Furious 7 2015 #> 6 6 Star Wars Ep. VII: The Force Awakens 2015 #> 7 7 The Lion King 2019 #> 8 8 The Fate of the Furious 2017 #> 9 9 Jurassic World 2015 #> 10 10 Harry Potter and the Deathly Hallows: Part II 2011 #> american_box_office international_box_office total_box_office #> 1 760507625 2029197650 2789705275 #> 2 858373000 1939427564 2797800564 #> 3 659363944 1548844451 2208208395 #> 4 678815482 1369544272 2048359754 #> 5 353007020 1165715774 1518722794 #> 6 936662225 1131561399 2068223624 #> 7 543624567 1111810064 1655434631 #> 8 225764765 1009081502 1234846267 #> 9 652270625 996584239 1648854864 #> 10 381193157 960500000 1341693157