cfb_team_matchup_records: Get matchup history between two teams.

Description Usage Arguments Value Source Examples

View source: R/cfb_team_matchup_records.R

Description

Get matchup history between two teams.

Usage

1
cfb_team_matchup_records(team1, team2, min_year = NULL, max_year = NULL)

Arguments

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)

Value

A data frame with 7 variables:

start_year

character.

end_year

character.

team1

character.

team1_wins

character.

team2

character.

team2_wins

character.

ties

character.

Source

https://api.collegefootballdata.com/teams/matchup

Examples

1
2
3
cfb_team_matchup_records('Texas','Oklahoma')

cfb_team_matchup_records('Texas A&M','TCU', min_year = 1975)

meysubb/cfbscrapR documentation built on Dec. 15, 2020, 11:26 p.m.