game_ids: Vector of character ids or a data frame including the variable game_id (see details for further information).
dir: Path to local directory (defaults to option "nflfastR.raw_directory") where nflfastR searches for raw game play-by-play data. See save_raw_pbp() for additional information.
...: Additional arguments passed to the scraping functions (for internal use)
decode: If TRUE, the function decode_player_ids() will be executed.
rules: If FALSE, printing of the header and footer in the console output will be suppressed.
To load valid game_ids please use the package function fast_scraper_schedules().
Examples
# Build nflfastR pbp for the 2018 and 2019 Super Bowlstry({# to avoid CRAN test problemsbuild_nflfastR_pbp(c("2018_21_NE_LA","2019_21_SF_KC"))})# It is also possible to directly use the# output of `fast_scraper_schedules` as inputtry({# to avoid CRAN test problemslibrary(dplyr, warn.conflicts =FALSE)fast_scraper_schedules(2020)%>% slice_tail(n =3)%>% build_nflfastR_pbp()})
See Also
For information on parallel processing and progress updates please see nflfastR .