Loads game level snap counts stats provided by Pro Football Reference starting with the 2013 season.
Usage
load_snap_counts(seasons = most_recent_season())
Arguments
- seasons
a numeric vector specifying what seasons to return, if
TRUE
returns all available data
See also
https://nflreadr.nflverse.com/articles/dictionary_snap_counts.html for the web data dictionary
dictionary_snap_counts
for the data dictionary as bundled within the package
Issues with this data should be filed here: https://github.com/nflverse/pfr_scrapR
Examples
# \donttest{
try({ # prevents CRAN errors
load_snap_counts()
})
#> Error in vapply(keys, remove_one_, TRUE) : values must be length 1,
#> but FUN(X[[3]]) result is length 0
# }