-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcfbd_ratings_elo.Rd
42 lines (37 loc) · 1.43 KB
/
cfbd_ratings_elo.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cfbd_ratings.R
\name{cfbd_ratings_elo}
\alias{cfbd_ratings_elo}
\title{\strong{Get Elo historical rating data}}
\usage{
cfbd_ratings_elo(year = NULL, week = NULL, team = NULL, conference = NULL)
}
\arguments{
\item{year}{(\emph{Integer} optional): Year, 4 digit format (\emph{YYYY})}
\item{week}{(\emph{Integer} optional): Maximum Week of ratings.}
\item{team}{(\emph{String} optional): D-I Team}
\item{conference}{(\emph{String} optional): Conference abbreviation - SRS information by conference
Conference abbreviations P5: ACC, B12, B1G, SEC, PAC
Conference abbreviations G5 and FBS Independents: CUSA, MAC, MWC, Ind, SBC, AAC}
}
\value{
\code{\link[=cfbd_ratings_elo]{cfbd_ratings_elo()}} - A data frame with 6 variables:
\describe{
\item{\code{year}: integer.}{Season of the SRS rating.}
\item{\code{team}: character.}{Team name.}
\item{\code{conference}: character.}{Conference of the team.}
\item{\code{division}: logical.}{Division in the conference for the team.}
\item{\code{rating}: double.}{Simple Rating System (SRS) rating.}
\item{\code{ranking}: integer.}{Simple Rating System ranking within the group returned.}
}
}
\description{
Acquire the CFBD calculated elo ratings data by team, year, week, and conference
}
\examples{
\donttest{
try(cfbd_ratings_elo(year = 2019, team = "Texas"))
try(cfbd_ratings_elo(year = 2018, conference = "SEC"))
}
}
\keyword{elo}