Skip to contents

Returns pregame win probabilities, expected scores, and thrill quotients for all games.

Usage

bart_pregame(year = current_season())

Arguments

year

Defaults to current season (YYYY).

Value

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.

Details

Under the `type` column, games are classified by one of five indicators, explained below:

nc

Non-conference games between two D-1 teams.

conf

In-conference games.

conf_t

Conference tournament games.

post

Post-conference tournament games.

nond1

Games involving one non-D1 team.

Examples

bart_pregame(year=2022)
#> # A tibble: 5,968 x 13
#>    date       conf     line    ttq type  team1 team1_wp team1_pts team2 team2_wp
#>    <date>     <chr>    <chr> <dbl> <chr> <chr>    <dbl>     <dbl> <chr>    <dbl>
#>  1 2021-11-09 ACC vs.~ Duke~  91.5 nc    Duke    0.561       77.9 Kent~    0.439
#>  2 2021-11-09 B12 vs.~ Kans~  70.7 nc    Kans~   0.812       78.7 Mich~    0.188
#>  3 2021-11-09 OVC at ~ Belm~  66.9 nc    Belm~   0.531       71.0 Ohio     0.469
#>  4 2021-11-09 WAC at ~ Utah~  60.2 nc    Abil~   0.374       70.6 Utah     0.626
#>  5 2021-11-09 MVC at ~ Sout~  59.5 nc    Brad~   0.279       70.7 Sout~    0.721
#>  6 2021-11-09 CUSA at~ Alab~  58.0 nc    Loui~   0.161       71.5 Alab~    0.839
#>  7 2021-11-09 CAA at ~ Illi~  55.4 nc    UNC ~   0.445       69.9 Illi~    0.555
#>  8 2021-11-09 MAC at ~ Tole~  53.9 nc    Tole~   0.641       73.3 Valp~    0.359
#>  9 2021-11-09 MAAC at~ VCU ~  53.6 nc    Sain~   0.214       56.4 VCU      0.786
#> 10 2021-11-09 CAA at ~ Hous~  51.0 nc    Hofs~   0.0395      60.1 Hous~    0.960
#> # ... with 5,958 more rows, and 3 more variables: team2_pts <dbl>,
#> #   game_id <chr>, year <dbl>