Sport::Analytics::NHL::Report::GS - Class for the NHL HTML GS report.
Class for the NHL HTML GS report. Should not be constructed directly, but via Sport::Analytics::NHL::Report (q.v.) As with any other HTML report, there are two types: old (pre-2007) and new (2007 and on). Parsers of them may have something in common but may turn out to be completely different more often than not.
normalize
Cleaning up and standardizing the parsed data.
Arguments: none Returns: void. Everything is in the $self.
normalize_new
Cleaning up and standardizing the parsed data from the new report.
normalize_old
Cleaning up and standardizing the parsed data from the old report.
normalize_scoring_event
Apply specific normalization to a scoring event.
Arguments: the scoring event hashref Returns: void. Everything is fixed within the hashref.
parse
Parse the GS html tree into a boxscore object
parse_goaltender_summary
Parse the goaltending summary in the new GS report
Arguments: the goaltender summary HTML element Returns: void. It's in the $self
parse_misc_summary
Parse the misc information summary in the old GS report
Arguments: the misc summary HTML element Returns: void.
parse_new_misc_summary
Parse the misc information summary in the new GS report
parse_new_penalty_event
Parse the entry of a penalty event in the new GS report
Arguments: the HTML element of the penalty Returns: the parsed event
parse_new_pp_summary
parse_penalty_event
Parse the entry of a penalty event in the old GS report
parse_penalty_summary
Parse penalty summary in the both old and new GS reports
Arguments: * the HTML element with the summary * the flag of format (old/new)
parse_pp_summary
Parse powerplay success summary in the new GS report
Arguments: the HTML element with the PP summary Returns: void
parse_scoring_event
Parse the entry of a scoring event in the both new and old GS reports.
Arguments: the HTML element of the goal Returns: the parsed event
parse_scoring_summary
Parse scoring summary in the both old and new GS reports
Arguments: * the HTML element with the summary * the flag of format (old/new) Returns: void.
More Hockey Stats, <contact at morehockeystats.com>
<contact at morehockeystats.com>
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::Report::GS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
contact at morehockeystats.com
You can find documentation for this module with the perldoc command.
perldoc Sport::Analytics::NHL::Report::GS
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Sport::Analytics::NHL::Report::GS
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Sport::Analytics::NHL::Report::GS
CPAN Ratings
https://cpanratings.perl.org/d/Sport::Analytics::NHL::Report::GS
Search CPAN
https://metacpan.org/release/Sport::Analytics::NHL::Report::GS
To install Sport::Analytics::NHL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sport::Analytics::NHL
CPAN shell
perl -MCPAN -e shell install Sport::Analytics::NHL
For more information on module installation, please visit the detailed CPAN module installation guide.