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:
seasoninteger.
weekinteger.
season_typecharacter.
datecharacter.
neutral_sitelogical.
venuecharacter.
home_teamcharacter.
home_scoreinteger.
away_teamcharacter.
away_scoreinteger.
winnercharacter.
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.