cfb_team_roster: Team Roster Get a teams full roster by year. If year 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 year not selected, API defaults to most recent year (2020 as of 9/22/20)

Usage

1
cfb_team_roster(team, year = NULL)

Arguments

team

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

year

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

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("Florida State")

meysubb/cfbscrapR documentation built on Dec. 15, 2020, 11:26 p.m.