nflfastr_rosters: Import nflfastr roster data

View source: R/1_import_nflfastr.R

nflfastr_rostersR 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

https://nflreadr.nflverse.com

Examples


try( # try only shown here because sometimes CRAN checks are weird
  nflfastr_rosters(seasons = 2019:2020)
)



ffscrapr documentation built on Feb. 16, 2023, 10:55 p.m.