-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcfbd_team_matchup_records.Rd
43 lines (38 loc) · 1.46 KB
/
cfbd_team_matchup_records.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cfbd_teams.R
\name{cfbd_team_matchup_records}
\alias{cfbd_team_matchup_records}
\title{\strong{Get matchup history records between two teams.}}
\usage{
cfbd_team_matchup_records(team1, team2, min_year = NULL, max_year = NULL)
}
\arguments{
\item{team1}{(\emph{String} required): D-I Team 1}
\item{team2}{(\emph{String} required): D-I Team 2}
\item{min_year}{(\emph{Integer} optional): Minimum of year range, 4 digit format (\emph{YYYY})}
\item{max_year}{(\emph{Integer} optional): Maximum of year range, 4 digit format (\emph{YYYY})}
}
\value{
\code{\link[=cfbd_team_matchup_records]{cfbd_team_matchup_records()}} - A data frame with 7 variables:
\describe{
\item{\code{start_year}: character.}{Span starting year.}
\item{\code{end_year}: character.}{Span ending year.}
\item{\code{team1}: character.}{First team selected in query.}
\item{\code{team1_wins}: character.}{First team wins in series against \code{team2}.}
\item{\code{team2}: character.}{Second team selected in query.}
\item{\code{team2_wins}: character.}{Second team wins in series against \code{team1}.}
\item{\code{ties}: character.}{Number of ties in the series.}
}
}
\description{
\strong{Get matchup history records between two teams.}
}
\examples{
\donttest{
try(cfbd_team_matchup_records("Texas", "Oklahoma"))
try(cfbd_team_matchup_records("Texas A&M", "TCU", min_year = 1975))
}
}
\keyword{Matchup}
\keyword{Records}
\keyword{Team}