Skip to main content

load_wnba_pbp

Load wehoop WNBA 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_wnba_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_wnba_db() ).
qsWhether to use the function qs::qdeserialize() for more efficient loading.

Value#

A dataframe with 42 columns

Examples#

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