Load Rosters

load_rosters(seasons = most_recent_season(roster = TRUE))

Arguments

seasons

a numeric vector of seasons to return, defaults to returning this year's data if it is March or later. If set to TRUE, will return all available data.

Value

A tibble of season-level roster data.

See also

Examples

# \donttest{ load_rosters(2020)
#> # A tibble: 4,624 × 25 #> season team position depth_chart_position jersey_number status full_name #> <dbl> <chr> <chr> <chr> <int> <chr> <chr> #> 1 2020 ARI C C 52 Active Mason Cole #> 2 2020 ARI C C 53 Active Lamont Gaill… #> 3 2020 ARI CB NB 33 Active Byron Murphy #> 4 2020 ARI CB NA 20 Active Prince Amuka… #> 5 2020 ARI CB NA 39 Active Jace Whittak… #> 6 2020 ARI CB LCB 27 Active Kevin Peters… #> 7 2020 ARI CB RCB 25 Active Johnathan Jo… #> 8 2020 ARI CB LCB 23 Active Robert Alford #> 9 2020 ARI CB LCB 21 Active Patrick Pete… #> 10 2020 ARI CB RCB 20 Active Dre Kirkpatr… #> # … with 4,614 more rows, and 18 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>, #> # yahoo_id <int>, rotowire_id <int>, pff_id <int>, pfr_id <chr>, #> # headshot_url <chr>, fantasy_data_id <int>, sleeper_id <chr>, #> # years_exp <int>, sportradar_id <chr>
# }