cfb_coaches: Coach Information Search

Description Usage Arguments Value Source Examples

View source: R/cfb_coaches.R

Description

A coach search function which provides coaching records and school history for a given coach

Usage

1
2
3
4
5
6
7
8
cfb_coaches(
  first = NULL,
  last = NULL,
  team = NULL,
  year = NULL,
  min_year = NULL,
  max_year = NULL
)

Arguments

first

(String optional): First name for the coach you are trying to look up

last

(String optional): Last name for the coach you are trying to look up

team

(String optional): Team - Select a valid team, D1 football

year

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

min_year

(Integer optional): Minimum Year filter (inclusive), 4 digit format (YYYY).

max_year

(Integer optional): Maximum Year filter (inclusive), 4 digit format (YYYY).

Value

A data frame with coach information with the following columns:

first_name

character. First name of coach.

last_name

character. Last name of coach.

school

character. School of coach.

year

integer. Season of record.

games

integer. Games as coach.

wins

integer. Wins for the season.

losses

integer. Losses for the season.

ties

integer. Ties for the season.

preseason_rank

integer. Preseason rank for the school of coach.

postseason_rank

integer. Postseason rank for the school of coach.

srs

character. Simple Rating System adjustment for team.

sp_overall

character. Bill Connelly's SP+ overall for team.

sp_offense

character. Bill Connelly's SP+ offense for team.

sp_defense

character. Bill Connelly's SP+ defense for team.

Source

https://api.collegefootballdata.com/coaches

Examples

1
cfb_coaches(first = "Nick", last = "Saban", team = 'alabama')

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