load_snap_counts {nflreadr} | R Documentation |
Load Snap Counts from PFR
Description
Loads game level snap counts stats provided by Pro Football Reference starting with the 2012 season.
Usage
load_snap_counts(
seasons = most_recent_season(),
file_type = getOption("nflreadr.prefer", default = "rds")
)
Arguments
seasons |
a numeric vector specifying what seasons to return, if |
file_type |
One of |
Value
A tibble of game-level snap counts provided by Pro Football Reference.
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/nflverse-pfr
Examples
try({ # prevents CRAN errors
load_snap_counts()
})
[Package nflreadr version 1.4.1 Index]