Skip to main content

load_wbb_pbp

Load wehoop women's college basketball play-by-play

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_pbp(seasons, ..., qs = FALSE)

Arguments#

ArgumentDescription
seasonsA vector of 4-digit years associated with given women's college basketball seasons.
...Additional arguments passed to an underlying function that writes the season data into a database (used by update_wbb_db() ).
dbConnectionA DBIConnection object, as returned by DBI::dbConnect()
tablenameThe name of the play by play data table within the database

Value#

A dataframe with 55 columns

Examples#

future::plan("multisession")load_wbb_pbp(2002:2021)