View source: R/cfbd_team_roster.R
| 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)
year |
(Integer required): Year, 4 digit format (YYYY) |
team |
(String optional): Team, select a valid team in D-I football |
cfbd_team_roster() - A data frame with 12 variables:
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.
height: integer.Athlete height.
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: number.Hometown longitude.
home_county_fips: integer.Hometown FIPS code.
headshot_url: characterPlayer ESPN headshot url.
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.