Get matchup history records between two teams.
Value
cfbd_team_matchup_records()
- A data frame with 7 variables:
start_year
: character.Span starting year.
end_year
: character.Span ending year.
team1
: character.First team selected in query.
team1_wins
: character.First team wins in series against
team2
.team2
: character.Second team selected in query.
team2_wins
: character.Second team wins in series against
team1
.ties
: character.Number of ties in the series.
Examples
# \donttest{
try(cfbd_team_matchup_records("Texas", "Oklahoma"))
#> ── Team matchup record from CollegeFootballData.com ────────── cfbfastR 1.9.5 ──
#> ℹ Data updated: 2024-09-10 01:24:22 UTC
#> # A tibble: 1 × 7
#> start_year end_year team1 team1_wins team2 team2_wins ties
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 "" "" Texas 60 Oklahoma 51 5
try(cfbd_team_matchup_records("Texas A&M", "TCU", min_year = 1975))
#> ── Team matchup record from CollegeFootballData.com ────────── cfbfastR 1.9.5 ──
#> ℹ Data updated: 2024-09-10 01:24:22 UTC
#> # A tibble: 1 × 7
#> start_year end_year team1 team1_wins team2 team2_wins ties
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 1975 "" Texas A&M 22 TCU 0 0
# }