| cfbd_team_roster | R Documentation |
Get a teams full roster by year. If team is not selected, API returns rosters for every team from the selected year.
cfbd_team_roster(year, team = NULL, division = NULL)
year |
(Integer required): Year, 4 digit format (YYYY) |
team |
(String optional): Team, select a valid team in D-I football |
division |
(String optional): Division/classification filter – one of |
cfbd_team_roster() - A data frame with 16 variables:
| col_name | types | description |
| athlete_id | character | Referencing athlete id. |
| first_name | character | Athlete first name. |
| last_name | character | Athlete last name. |
| team | character | Team name. |
| weight | integer | Athlete weight (lbs). |
| height | integer | Athlete height (inches). |
| jersey | integer | Athlete jersey number. |
| year | integer | Athlete year. |
| position | character | Athlete position. |
| home_city | character | Hometown of the athlete. |
| home_state | character | Hometown state of the athlete. |
| home_country | character | Hometown country of the athlete. |
| home_latitude | numeric | Hometown latitude. |
| home_longitude | numeric | Hometown longitude. |
| home_county_fips | integer | Hometown FIPS code. |
| headshot_url | character | Player ESPN headshot url. |
Other CFBD Teams:
cfbd_team_info(),
cfbd_team_matchup(),
cfbd_team_matchup_records(),
cfbd_team_talent()
try(cfbd_team_roster(year = 2013, team = "Florida State"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.