Skip to main content

load_nba_player_box

Load hoopR NBA player box scores

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

Arguments#

ArgumentDescription
seasonsA vector of 4-digit years associated with given NBA 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_player_box(2002:2021)