missing_raw_pbp | R Documentation |
Uses nflreadr::load_schedules()
to load game IDs of finished games and
compares these IDs to all files saved under dir
.
This function is intended to serve as input for save_raw_pbp()
.
missing_raw_pbp(
dir = getOption("nflfastR.raw_directory", default = NULL),
verbose = TRUE
)
dir |
Path to local directory (defaults to option "nflfastR.raw_directory"). nflfastR will download the raw game files split by season into one sub directory per season. |
verbose |
If |
A character vector of missing game IDs. If no files are missing,
returns NULL
invisibly.
save_raw_pbp()
try(
missing <- missing_raw_pbp(tempdir())
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.