bart_pregame | R Documentation |
Returns pregame win probabilities, expected scores, and thrill quotients for all games.
bart_pregame(year = current_season(), team = NULL, type = NULL, game_id = NULL)
year |
Defaults to current season (YYYY). |
team |
Team to filter for. |
type |
Game type to filter for ('nc', 'conf', 'conf_t', 'post', 'nond1') |
game_id |
Game ID to filter for. |
Under the 'type' column, games are classified by one of five indicators, explained below:
Non-conference games between two D-1 teams.
In-conference games.
Conference tournament games.
Post-conference tournament games.
Games involving one non-D1 team.
Returns a tibble with 13 columns:
date
double.
conf
character.
line
character.
ttq
double. Torvik Thrill Quotient – measures how good the teams are, how close the game is projected to be, and how fast the tempo is projected to be.
type
character. See details.
team1
character.
team1_wp
double. Estimated win percentage.
team1_pts
double. Estimated total points.
team2
character.
team2_wp
double. Estimated win percentage.
team2_pts
double. Estimated total points.
game_id
character.
year
double.
try(bart_pregame(year=2022))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.