Skip to main content

load_nba_pbp

Load hoopR NBA 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_nba_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_nba_db() ).
qsWheter to use the function qs::qdeserialize() for more efficient loading.

Examples#

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