Skip to contents

Load College Football Rosters

Usage

load_cfb_rosters(seasons = most_recent_cfb_season())

Arguments

seasons

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

Value

A tibble of season-level roster data.

See also

cfbd_team_roster()

Issues with this data should be filed here: https://github.com/sportsdataverse/cfbfastR-data

Examples

# \donttest{
  try(load_cfb_rosters(2020))
#> ── Team roster data from CollegeFootballData.com ───────────── cfbfastR 1.9.3 ──
#>  Data updated: 2022-09-17 20:50:28 UTC
#> # A tibble: 16,468 × 18
#>    athlete_id first_n…¹ last_…² team  weight height jersey  year posit…³ home_…⁴
#>    <chr>      <chr>     <chr>   <chr>  <int>  <int>  <int> <int> <chr>   <chr>  
#>  1 32312      Ben       Brown   Ole …    315     77     55     3 OL      Vicksb…
#>  2 102597     Will      Rogers  Miss…    210     74      2     3 QB      Brandon
#>  3 107494     Trey      Sanders Alab…    214     72      6     3 RB      Port S…
#>  4 385291     Matt      Duncan  Temp…    213     73     NA     1 QB      Summer…
#>  5 501592     Patrick   McNeil  Midd…    320     73     78     3 OL      Mobile 
#>  6 516230     Aaron     Davis   Navy     215     74     58     3 LB      Upper …
#>  7 517461     Greg      DeLuca  Nort…    214     74     42     4 RB      Boonto…
#>  8 533859     Randall   Brown   Coas…    180     69     17     3 RB      Lugoff 
#>  9 548077     Ryan      Smith   Duke     210     74     40     1 LB      Las Ve…
#> 10 550577     Jordan    Brown   Fres…    227     72     81     3 WR      Bellfl…
#> # … with 16,458 more rows, 8 more variables: home_state <chr>,
#> #   home_country <chr>, home_latitude <chr>, home_longitude <chr>,
#> #   home_county_fips <chr>, recruit_ids <list>, headshot_url <chr>,
#> #   season <int>, and abbreviated variable names ¹​first_name, ²​last_name,
#> #   ³​position, ⁴​home_city
# }