nflfastr_rosters {ffscrapr} | R Documentation |
Import nflfastr roster data
Description
Fetches a copy of roster data from nflfastr's data repository. The same input/output as nflfastr's fast_scraper_roster function.
Usage
nflfastr_rosters(seasons)
Arguments
seasons |
A numeric vector of seasons, earliest of which is 1999. TRUE returns all seasons, NULL returns latest season. |
Details
If you have any issues with the output of this data, please open an issue in the nflfastr repository.
Value
Data frame where each individual row represents a player in the roster of the given team and season
See Also
Examples
try( # try only shown here because sometimes CRAN checks are weird
nflfastr_rosters(seasons = 2019:2020)
)
[Package ffscrapr version 1.4.8 Index]