powered by
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)
(Integer required): Year, 4 digit format (YYYY)
(String optional): Team, select a valid team in D-I football
cfbd_team_roster() - A data frame with 12 variables:
cfbd_team_roster()
athlete_id
Referencing athlete id.
first_name
Athlete first name.
last_name
Athlete last name.
team
Team name.
weight
Athlete weight.
height
Athlete height.
jersey
Athlete jersey number.
year
Athlete year.
position
Athlete position.
home_city
Hometown of the athlete.
home_state
Hometown state of the athlete.
home_country
Hometown country of the athlete.
home_latitude
Hometown latitude.
home_longitude
Hometown longitude.
home_county_fips
Hometown FIPS code.
headshot_url
Player ESPN headshot url.
# NOT RUN { try(cfbd_team_roster(year = 2013, team = "Florida State")) # } # NOT RUN { # }
Run the code above in your browser using DataLab