Skip to contents

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

Usage

cfbd_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

first_name:character.

First name of coach.

last_name:character.

Last name of coach.

hire_date:character.

Hire date 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.

Examples

# \donttest{
  try(cfbd_coaches(first = "Nick", last = "Saban", team = "alabama"))
#> ── Coaches data from CollegeFootballData.com ───────────────── cfbfastR 1.9.3 ──
#>  Data updated: 2022-11-24 08:45:43 UTC
#> # A tibble: 122 × 15
#>    first…¹ last_…² hire_…³ school  year games  wins losses  ties prese…⁴ posts…⁵
#>    <chr>   <chr>   <chr>   <chr>  <int> <int> <int>  <int> <int>   <int>   <int>
#>  1 M.      Griffin NA      Alaba…  1900     5     2      3     0       0       0
#>  2 G.H.    Harvey  NA      Alaba…  1901     5     2      1     2       0       0
#>  3 Eli     Abbott  NA      Alaba…  1902     8     4      4     0       0       0
#>  4 J.O.    Heywor… NA      Alaba…  1902     8     4      4     0       0       0
#>  5 W.B.    Blount  NA      Alaba…  1903     7     3      4     0       0       0
#>  6 W.B.    Blount  NA      Alaba…  1904    10     7      3     0       0       0
#>  7 Jack    Leaven… NA      Alaba…  1905    10     6      4     0       0       0
#>  8 J.W.H.  Pollard NA      Alaba…  1906     6     5      1     0       0       0
#>  9 J.W.H.  Pollard NA      Alaba…  1907     8     5      1     2       0       0
#> 10 J.W.H.  Pollard NA      Alaba…  1908     8     6      1     1       0       0
#> # … with 112 more rows, 4 more variables: srs <chr>, sp_overall <chr>,
#> #   sp_offense <chr>, sp_defense <chr>, and abbreviated variable names
#> #   ¹​first_name, ²​last_name, ³​hire_date, ⁴​preseason_rank, ⁵​postseason_rank
# }