# This will give you all movies from October 10th
# 2012 from the-numbers.com
boxoffice("12-10-10", source = "numbers")
# This will do the same as above but from
# boxofficemojo.com. Each site has
# slightly differing results. Note that
# boxofficemojo is default
# and does not need to be manually inputted
## Not run: boxoffice("12-10-10")
# Date range from October 10th - October 11th 2012
## Not run: boxoffice("12-10-10", "12-10-11")
# Same as above, only grab top 10 movies
## Not run: boxoffice("12-10-10", "12-10-11", number_of_results = 10)
# Same as above, with the-numbers.com as source
## Not run: boxoffice("12-10-10", "12-10-11",
# number_of_results = 10, source = "numbers")## End(Not run)
# Multiple dates
## Not run: boxoffice(c("12-10-10", "13-4-15"))
# Multiple dates with the-numbers as source
## Not run: boxoffice(c("12-10-10", "13-4-15"), source = "numbers")
Run the code above in your browser using DataCamp Workspace