cfb_team_matchup: Get matchup history between two teams.

Description Usage Arguments Value Source Examples

View source: R/cfb_team_matchup.R

Description

Get matchup history between two teams.

Usage

1
cfb_team_matchup(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 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.

Source

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

Examples

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)

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