Load calculated 4th down probabilities from `cfbfastR` data.
Value
`cfbfastR` data on 4th downs with the `add_4th_probs()` columns added and also the following:
- go
100 if a team went for it on 4th down, 0 otherwise. It's 100 and 0 as a convenience for obtaining percent of times going for it.
Examples
# \donttest{
cfb4th::load_4th_pbp(2020)
#> Loading season 2020
#> Computing probabilities for 10027 plays. . .
#> ────────────────────────────────────────────────────────────── cfbfastR 1.9.0 ──
#> # A tibble: 103,910 × 342
#> year week id_play game_id game_play_number half_play_number
#> <dbl> <int> <dbl> <int> <dbl> <dbl>
#> 1 2020 1 4.01e17 401207098 1 1
#> 2 2020 1 4.01e17 401207098 2 2
#> 3 2020 1 4.01e17 401207098 3 3
#> 4 2020 1 4.01e17 401207098 4 4
#> 5 2020 1 4.01e17 401207098 5 5
#> 6 2020 1 4.01e17 401207098 6 6
#> 7 2020 1 4.01e17 401207098 7 7
#> 8 2020 1 4.01e17 401207098 8 8
#> 9 2020 1 4.01e17 401207098 9 9
#> 10 2020 1 4.01e17 401207098 10 10
#> # ℹ 103,900 more rows
#> # ℹ 336 more variables: drive_play_number <dbl>, pos_team <chr>,
#> # def_pos_team <chr>, pos_team_score <int>, def_pos_team_score <int>,
#> # half <dbl>, period <int>, clock.minutes <int>, clock.seconds <int>,
#> # play_type <chr>, play_text <chr>, down <dbl>, distance <dbl>,
#> # yards_to_goal <dbl>, yards_gained <dbl>, EPA <dbl>, ep_before <dbl>,
#> # ep_after <dbl>, wpa <dbl>, wp_before <dbl>, wp_after <dbl>, …
# }