Usage
process.single.game (season="20122013", gcode="20001", rdata.folder="nhlr-data", override.download=FALSE, save.to.file=TRUE, ...) process.games (games=full.game.database(), rdata.folder="nhlr-data", override.download=FALSE) retrieve.game (season="20122013", gcode="20001", rdata.folder="nhlr-data", force=TRUE, ...) compile.all.games (rdata.folder="nhlr-data", output.folder="source-data", new.game.table=NULL, seasons=NULL, verbose=FALSE, override.days.back=NULL, date.check=FALSE, ...)
Arguments
season
A character string for the two years specifying an NHL
season.
gcode
The five-digit ID number for a particular NHL game.
rdata.folder
The location within the current directory to
which to save the downloaded files. Will be created if it does not
exist.
output.folder
The location within the current directory where
compiled files will be saved. Will be created if it does not
exist.
games, new.game.table
A game database, such as the one produced by
full.game.database().
override.download
Re-download the game files whether or not
they are currently locally available.
save.to.file
Save the game object to file.
force
If TRUE, reprocesses the single game file.
seasons
If selected, defaults to a game table with only these
seasons, of the form "20142015".
date.check
Try and download files without known dates.
override.days.back
Force download for those days previous to
this one.
verbose
Print extra output information.
...
Arguments to pass to download.single.game().