R/download_nflscrapR_data.R
download_nflscrapR_data.Rd
This function will return a data.frame after downloading the original file from the nflscrapR-data website.
download_nflscrapR_data(type = "regular", year)
type | A character string specifying "regular", "pre", or "post", for regular, pre, or post season, respectively. |
---|---|
year | A year from 2009 to 2019 |
A data.frame containing play-by-play information from NFL games
if (FALSE) { df <- download_nflscrapR_data("regular", 2019) }