Returns full season schedule for all D-1 teams by year
Usage
bart_season_schedule(
year = current_season(),
type = NULL,
conf = NULL,
team = NULL
)
Arguments
- year
Defaults to current season (YYYY).
- type
Filters for game type (see details).
- conf
Filters for conference.
- team
Filters for team.
Value
Returns a tibble with six columns:
date
double.
type
character. See details.
neutral
logical.
home
character.
away
character.
game_id
character.
Details
Function pulls all games involving at least one D-1 team. Under the `type` column, games are classified by one of four indicators, explained below:
- nc
Non-conference games between two D-1 teams.
- conf
In-conference games.
- post
Post-conference tournament games.
- nond1
Games involving one non-D1 team.
Examples
bart_season_schedule(year=2022)
#> ── 2022 Schedule ─────────────────────────────────────────────── toRvik 1.1.0 ──
#> ℹ Data updated: 2022-09-20 01:39:17 UTC
#> # A tibble: 5,968 × 9
#> date type neutral home home_…¹ away away_…² game_id year
#> <chr> <chr> <lgl> <chr> <chr> <chr> <chr> <chr> <int>
#> 1 2021-11-09 nc FALSE Creighton BE Arka… SWAC Arkans… 2022
#> 2 2021-11-09 nc FALSE Valparaiso MVC Tole… MAC Toledo… 2022
#> 3 2021-11-09 nc FALSE Indiana B10 East… MAC Easter… 2022
#> 4 2021-11-09 nc FALSE North Carolina … ACC Buck… Pat Buckne… 2022
#> 5 2021-11-09 nc FALSE Missouri SEC Cent… MAC Centra… 2022
#> 6 2021-11-09 nond1 FALSE Brown Ivy Salv… NA Salve … 2022
#> 7 2021-11-09 nond1 FALSE Wright St. Horz Lake… NA Lake E… 2022
#> 8 2021-11-09 nc FALSE New Mexico St. WAC UC I… BW UC Irv… 2022
#> 9 2021-11-09 nond1 FALSE Furman SC Nort… NA North … 2022
#> 10 2021-11-09 nc FALSE UAB CUSA UNC … BSth UNC As… 2022
#> # … with 5,958 more rows, and abbreviated variable names ¹home_conf, ²away_conf