-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcfbd_games.Rd
79 lines (59 loc) · 2.6 KB
/
cfbd_games.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cfbd_games.R
\name{cfbd_games}
\alias{cfbd_games}
\title{\strong{CFBD Games Endpoint Overview}}
\description{
Get results, statistics and information for games
\describe{
\item{\code{cfbd_game_box_advanced()}:}{ Get game advanced box score information.}
\item{\code{cfbd_game_player_stats()}:}{ Get results information from games.}
\item{\code{cfbd_game_team_stats()}:}{ Get team statistics by game.}
\item{\code{cfbd_game_info()}:}{ Get results information from games.}
\item{\code{cfbd_game_weather()}:}{ Get weather from games.}
\item{\code{cfbd_game_records()}:}{ Get team records by year.}
\item{\code{cfbd_calendar()}:}{ Get calendar of weeks by season.}
\item{\code{cfbd_game_media()}:}{ Get game media information (TV, radio, etc).}
}
}
\details{
\subsection{\strong{Get game advanced box score information.}}{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{cfbd_game_box_advanced(game_id = 401114233)
}\if{html}{\out{</div>}}
}
\subsection{\strong{Get player statistics by game}}{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{cfbd_game_player_stats(2018, week = 15, conference = "Ind")
cfbd_game_player_stats(2013, week = 1, team = "Florida State", category = "passing")
}\if{html}{\out{</div>}}
}
\subsection{\strong{Get team records by year}}{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{cfbd_game_records(2018, team = "Notre Dame")
cfbd_game_records(2013, team = "Florida State")
}\if{html}{\out{</div>}}
}
\subsection{\strong{Get team statistics by game}}{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{cfbd_game_team_stats(2019, team = "LSU")
cfbd_game_team_stats(2013, team = "Florida State")
}\if{html}{\out{</div>}}
}
\subsection{\strong{Get results information from games.}}{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{cfbd_game_info(2018, week = 1)
cfbd_game_info(2018, week = 7, conference = "Ind")
# 7 OTs LSU @ TAMU
cfbd_game_info(2018, week = 13, team = "Texas A&M", quarter_scores = TRUE)
}\if{html}{\out{</div>}}
\if{html}{\out{<div class="sourceCode">}}\preformatted{### **Get weather from games.**
```r
cfbd_game_weather(2018, week = 1)
cfbd_game_info(2018, week = 7, conference = "Ind")
}\if{html}{\out{</div>}}
}
\subsection{\strong{Get calendar of weeks by season.}}{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{cfbd_calendar(2019)
}\if{html}{\out{</div>}}
}
\subsection{\strong{Get game media information (TV, radio, etc).}}{
\if{html}{\out{<div class="sourceCode r">}}\preformatted{cfbd_game_media(2019, week = 4, conference = "ACC")
}\if{html}{\out{</div>}}
}
}