NAME
Sport::Analytics::NHL::Report::ES - Class for the NHL HTML ES report.
SYNOPSYS
Class for the NHL HTML ES 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.
METHODS
get_new_headers
-
Get the headers of the player tables in the new HTML.
Arguments: HTML element with the team table Returns: the array of headers.
get_old_headers
-
Get the headers of the player tables in the old HTML.
Arguments: HTML element with the team table Returns: the array of headers.
normalize
-
Cleaning up and standardizing the parsed data.
Arguments: none Returns: void. Everything is in the $self.
parse
-
Parse the ES html tree into a boxscore object
Arguments: none Returns: void. Everything is in the $self.
parse_new_team_summary
-
Parse a team's table in the new HTML.
Arguments: HTML element with the team table Returns: the team hashref.
parse_old_team_summary
-
Parse a team's table in the old HTML.
Arguments: HTML element with the team table Returns: the team hashref.
parse_goaltender_summary
-
Parse the seldom-happening goaltending summary in the ES report.
Arguments: the HTML element with the summary Returns: void, the object is updated.
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::Report::ES. 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::Report::ES
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::ES
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
https://cpanratings.perl.org/d/Sport::Analytics::NHL::Report::ES
Search CPAN
https://metacpan.org/release/Sport::Analytics::NHL::Report::ES