cfb_team_roster: Team Roster Get a teams full roster by year. If team is not...

Description Usage Arguments Value Source Examples

View source: R/cfb_team_roster.R

Description

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

Usage

1
cfb_team_roster(year, team = NULL)

Arguments

year

(Integer required): Year, 4 digit format (YYYY)

team

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

Value

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.

Source

https://api.collegefootballdata.com/roster

Examples

1
cfb_team_roster(year = 2013, team = "Florida State")

saiemgilani/cfbscrapR documentation built on April 11, 2021, 4:57 p.m.