Description Usage Arguments Value Source Examples
View source: R/cfb_team_matchup.R
Get matchup history between two teams.
1 | cfb_team_matchup(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 11 variables:
season
integer.
week
integer.
season_type
character.
date
character.
neutral_site
logical.
venue
character.
home_team
character.
home_score
integer.
away_team
character.
away_score
integer.
winner
character.
https://api.collegefootballdata.com/teams/matchup
1 2 3 4 5 6 7 | cfb_team_matchup('Texas','Oklahoma')
cfb_team_matchup('Texas A&M','TCU')
cfb_team_matchup('Texas A&M','TCU', min_year = 1975)
cfb_team_matchup('Florida State', 'Florida', min_year = 1975)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.