cfbd_team_roster: *Get team rosters*

View source: R/cfbd_teams.R

cfbd_team_rosterR Documentation

Get team rosters

Description

Get a teams full roster by year. If team is not selected, API returns rosters for every team from the selected year.

Usage

cfbd_team_roster(year, team = NULL, division = NULL)

Arguments

year

(Integer required): Year, 4 digit format (YYYY)
Minimum value accepted: 2004

team

(String optional): Team, select a valid team in D-I football

division

(String optional): Division/classification filter – one of fbs, fcs, ii, ii/iii, iii. Sent to CFBD as classification.

Value

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.

See Also

Other CFBD Teams: cfbd_team_info(), cfbd_team_matchup(), cfbd_team_matchup_records(), cfbd_team_talent()

Examples


  try(cfbd_team_roster(year = 2013, team = "Florida State"))



cfbfastR documentation built on Aug. 24, 2026, 5:13 p.m.