load_snap_counts {nflreadr} | R Documentation |
Loads game level snap counts stats provided by Pro Football Reference starting with the 2012 season.
load_snap_counts(
seasons = most_recent_season(),
file_type = getOption("nflreadr.prefer", default = "rds")
)
seasons |
a numeric vector specifying what seasons to return, if |
file_type |
One of |
A tibble of game-level snap counts provided by Pro Football Reference.
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/nflverse-pfr
try({ # prevents CRAN errors
load_snap_counts()
})