Load season play-by-play
load_pbp(season = as.numeric(substr(Sys.Date() + 184, 1, 4)))
season | An integer value or vector of values denoting the end year of the season(s) to scrape.
|
---|
A tibble containing all play-by-play data for a given season(s) in
the same format as the output of scrape_game
if (FALSE) { pbp <- load_pbp(2021) }