The goal of boxoffice
is to scrape movie data to get information about daily box office results of movies and top grossing movies. It scrapes the webpages of https://www.the-numbers.com/ for this information.
To install this package, use the code install.packages("boxoffice") # The development version is available on Github. # install.packages("devtools") devtools::install_github("jacobkap/boxoffice")
The boxoffice()
function gets daily boxoffice information. In essence, it shows how well each movie performed on that day.
The data it returns are the following:
movies <- boxoffice::boxoffice(date = as.Date("2015-10-31")) head(movies)
The top_grossing()
function gets the
movies <- boxoffice::top_grossing() head(movies)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.