Description Usage Arguments Value Source Examples
View source: R/cfb_team_roster.R
Team Roster Get a teams full roster by year. If team is not selected, API returns rosters for every team from the selected year.
1 | cfb_team_roster(year, team = NULL)
|
year |
(Integer required): Year, 4 digit format (YYYY) |
team |
(String optional): Team, select a valid team in D-I football |
A data frame with 12 variables:
athlete_id
character.
first_name
character.
last_name
character.
weight
integer.
height
integer.
jersey
integer.
year
integer.
position
character.
home_city
character.
home_state
character.
home_country
character.
team
character.
https://api.collegefootballdata.com/roster
1 | cfb_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.