A nine-team, two-conference toy season (plus one independent)
used throughout the examples, the vignettes, and as the default input of
simulations_verify_fct(). It is the same data shipped in
inst/extdata/toy_games.csv, so it needs no network access.
Format
A data frame with the columns cfb_standings() requires:
| Column | Type | Description |
season | integer | Season identifier. |
game_type | character | "REG" or "CONF_CHAMP". |
week | integer | Week number of the game. |
home_team, away_team | character | Team names matching cfb_teams_example$team. |
home_points, away_points | integer | Final scores (feed the SEC capped-margin rung). |
result | integer | Home margin, i.e. home score minus away score. |
Examples
# \donttest{
head(cfb_games_example)
#> # A tibble: 6 × 7
#> sim week game_type home_team away_team result neutral
#> <int> <int> <chr> <chr> <chr> <int> <int>
#> 1 2024 1 REG A1 A2 7 0
#> 2 2024 1 REG A3 A4 3 0
#> 3 2024 1 REG B1 B2 4 0
#> 4 2024 1 REG B3 B4 6 0
#> 5 2024 2 REG A3 A1 3 0
#> 6 2024 2 REG A2 A4 14 0
# }