| cfbd_betting_ats | R Documentation |
Get against-the-spread (ATS) summary records by team
Retrieves a season-level against-the-spread summary for each team:
how often the team covered, failed to cover, or pushed relative to
the closing spread, plus the average margin by which it beat the
spread. Complements cfbd_betting_lines(), which returns the
per-game lines themselves.
cfbd_betting_ats(year = NULL, team = NULL, conference = NULL)
year |
(Integer required): Year, 4 digit format (YYYY). |
team |
(String optional): D-I Team |
conference |
(String optional): Conference abbreviation - Select a valid FBS conference |
Against-the-spread records with the following 9 columns:
| col_name | types | description |
| year | integer | Four-digit season year. |
| team_id | integer | Unique CFBD team identifier. |
| team | character | D-I team name. |
| conference | character | Team conference name. |
| games | integer | Number of games included in the ATS summary. |
| ats_wins | integer | Games the team covered the spread. |
| ats_losses | integer | Games the team failed to cover the spread. |
| ats_pushes | integer | Games that pushed against the spread. |
| avg_cover_margin | numeric | Average margin by which the team beat the spread. |
Other CFBD Betting Functions:
cfbd_betting_lines()
try(cfbd_betting_ats(year = 2023, team = "Michigan"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.