Fetches a copy of roster data from nflfastr's data repository. The same input/output as nflfastr's fast_scraper_roster function.

nflfastr_rosters(seasons)

Arguments

seasons

A numeric vector of seasons, earliest of which is 1999

Value

Data frame where each individual row represents a player in the roster of the given team and season

Details

If you have any issues with the output of this data, please open an issue in the nflfastr repository.

See also

Examples

# \donttest{ nflfastr_rosters(seasons = 2019:2020)
#> # A tibble: 7,735 x 24 #> season team position depth_chart_positi… jersey_number status full_name #> <dbl> <chr> <chr> <chr> <int> <chr> <chr> #> 1 2019 ARI C NA 60 CUT Jacob Ohnesor… #> 2 2019 ARI C NA 53 ACT A.Q. Shipley #> 3 2019 ARI C NA 65 ACT Lamont Gailla… #> 4 2019 ARI CB NA 27 SUS Josh Shaw #> 5 2019 ARI CB NA 30 ACT Jalen Davis #> 6 2019 ARI CB NA 33 ACT Byron Murphy #> 7 2019 ARI CB NA 22 CUT Trevor Willia… #> 8 2019 ARI CB NA 26 RES Brandon Willi… #> 9 2019 ARI CB NA NA DEV Sojourn Shelt… #> 10 2019 ARI CB NA 28 CUT Deatrick Nich… #> # … with 7,725 more rows, and 17 more variables: first_name <chr>, #> # last_name <chr>, birth_date <date>, height <chr>, weight <chr>, #> # college <chr>, high_school <chr>, gsis_id <chr>, espn_id <int>, #> # sportradar_id <chr>, yahoo_id <int>, rotowire_id <int>, pff_id <int>, #> # update_dt <dttm>, headshot_url <glue>, fantasy_data_id <int>, #> # sleeper_id <chr>
# }