Description Usage Arguments Value Source Examples
View source: R/cfb_team_roster.R
Team Roster Get a teams full roster by year. If year not selected, API defaults to most recent year (2020 as of 9/22/20)
1 | cfb_team_roster(team, year = NULL)
|
team |
(String required): Team, select a valid team in D-I football |
year |
(Integer optional): Year, 4 digit format (YYYY) |
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("Florida State")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.