Last chance! 50% off unlimited learning
Sale ends in
This function pulls data from an NFL url and contructs it into a formatted boxscore.
simple_boxscore(GameID, home = TRUE)
(character or numeric) A 10 digit game ID associated with a given NFL game.
(boolean): home = TRUE will pull home stats, home = FALSE pulls away stats
A list of player statistics including passing, rushing, receiving, defense, kicking, kick return, and punt return statistics for the specified game.
# NOT RUN {
# Parsed drive summaries of final game in 2015 NFL season
nfl2015.finalregseasongame.gameID <- "2016010310"
simple_boxscore(nfl2015.finalregseasongame.gameID, home = TRUE)
# }
Run the code above in your browser using DataLab