load_wbb_schedule: *Load wehoop women's college basketball schedule*

View source: R/load_wbb.R

load_wbb_scheduleR Documentation

Load wehoop women's college basketball schedule

Description

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

Usage

load_wbb_schedule(
  seasons = most_recent_wbb_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given women's college basketball seasons. (Min: 2002)

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_wbb_db()).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the play by play data table within the database

Value

Returns a tibble

Examples


  try(load_wbb_schedule())


wehoop documentation built on Nov. 26, 2023, 1:08 a.m.