Description Usage Arguments Value Source Examples
View source: R/cfb_team_matchup_records.R
Get matchup history between two teams.
1 | cfb_team_matchup_records(team1, team2, min_year = NULL, max_year = NULL)
|
team1 |
(String required): D-I Team 1 |
team2 |
(String required): D-I Team 2 |
min_year |
(Integer optional): Minimum of year range, 4 digit format (YYYY) |
max_year |
(Integer optional): Maximum of year range, 4 digit format (YYYY) |
A data frame with 7 variables:
start_year
character.
end_year
character.
team1
character.
team1_wins
character.
team2
character.
team2_wins
character.
ties
character.
https://api.collegefootballdata.com/teams/matchup
1 2 3 | cfb_team_matchup_records('Texas','Oklahoma')
cfb_team_matchup_records('Texas A&M','TCU', min_year = 1975)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.