load_ncaa_baseball_schedule {baseballr} | R Documentation |
helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots
load_ncaa_baseball_schedule(
seasons = most_recent_ncaa_baseball_season(),
...,
dbConnection = NULL,
tablename = NULL
)
seasons |
A vector of 4-digit years associated with given NCAA college baseball seasons. (Min: 2012) |
... |
Additional arguments passed to an underlying function that writes the season data into a database. |
dbConnection |
A |
tablename |
The name of the schedule data table within the database |
Returns a tibble
try(load_ncaa_baseball_schedule(seasons = 2022))