cfbd_team_matchup | R Documentation |
Get matchup history between two teams.
cfbd_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) |
cfbd_team_matchup - A data frame with 11 variables:
season
: integer.Season the game took place.
week
: integer.Game week of the season.
season_type
: character.Season type of the game.
date
: character.Game date.
neutral_site
: logical.TRUE/FALSE flag for if the game took place at a neutral site.
venue
: character.Stadium name.
home_team
: character.Home team of the game.
home_score
: integer.Home score in the game.
away_team
: character.Away team of the game.
away_score
: integer.Away score in the game.
winner
: character.Winner of the matchup.
try(cfbd_team_matchup("Texas", "Oklahoma")) try(cfbd_team_matchup("Texas A&M", "TCU")) try(cfbd_team_matchup("Texas A&M", "TCU", min_year = 1975)) try(cfbd_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.