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.5 ──
#>  Data updated: 2022-09-17 20:50:28 UTC
#> # A tibble: 16,468 × 18
#>    athlete_id first_name last_name team      weight height jersey  year position
#>    <chr>      <chr>      <chr>     <chr>      <int>  <int>  <int> <int> <chr>   
#>  1 32312      Ben        Brown     Ole Miss     315     77     55     3 OL      
#>  2 102597     Will       Rogers    Mississi…    210     74      2     3 QB      
#>  3 107494     Trey       Sanders   Alabama      214     72      6     3 RB      
#>  4 385291     Matt       Duncan    Temple       213     73     NA     1 QB      
#>  5 501592     Patrick    McNeil    Middle T…    320     73     78     3 OL      
#>  6 516230     Aaron      Davis     Navy         215     74     58     3 LB      
#>  7 517461     Greg       DeLuca    Northern…    214     74     42     4 RB      
#>  8 533859     Randall    Brown     Coastal …    180     69     17     3 RB      
#>  9 548077     Ryan       Smith     Duke         210     74     40     1 LB      
#> 10 550577     Jordan     Brown     Fresno S…    227     72     81     3 WR      
#> # ℹ 16,458 more rows
#> # ℹ 9 more variables: home_city <chr>, home_state <chr>, home_country <chr>,
#> #   home_latitude <chr>, home_longitude <chr>, home_county_fips <chr>,
#> #   recruit_ids <list>, headshot_url <chr>, season <int>
# }