NAME

populate - populate (recompile if necessary) the normalized NHL boxscores referenced in schedule into a DB.

SYNOPSIS

Populates the normalized NHL reports referenced in a stored schedule into a Mongo database.

 Usage: scripts/populate-schedule [Options] Arguments
 Options:
	-h|--help                       print this message and exit
	-V|--version                    print version and exit
	-v|--verbose                    produce verbose output to STDERR
	-d|--debug                      produce debug output to STDERR
	--no-compile                    Do not compile file even if storable is absent
	--recompile                     Compile file even if storable is present
	--no-merge                      Do not merge file even if storable is absent
	--remerge                       Compile file even if storable is present
	--no-normalize                  Do not normalize file even if storable is absent
	--renormalize                   Compile file even if storable is present
	--no-database                   Do not use a MongoDB backend
	-D|--database        DB         Use Mongo database DB (default hockeytest)
	-E|--data-dir        DIR        Data directory root (default /misc/nhl)
	-f|--force                      override/overwrite existing data
	-s|--start-season    SEASON     Start at season SEASON (default 2018)
	-S|--stop-season     SEASON     Stop at season SEASON (default 2018)
	-T|--stage           STAGE      Scrape stage STAGE (2: REGULAR, 3: PLAYOFF, default: 2
	--test                          Test the validity of the files (use with caution)

AUTHOR

More Hockey Stats, <contact at morehockeystats.com>

BUGS

Please report any bugs or feature requests to contact at morehockeystats.com, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sport::Analytics::NHL. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Sport::Analytics::NHL

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2018 More Hockey Stats.

This program is released under the following license: gnu