Eric Fastner
A package of functions and data sets to process the RTSS (play-by-play) data from nhl.com
enhanced_PBP(): Adds additional data to an NHL RTSS data frame
get_game_results(): Creates a summary of all game results contained in an RTSS data frame
get_team_results(): Creates a summary of all game results contained in an RTSS data frame, grouped by team
get_skater_stats(): Calculates various stats for all skaters contained in an RTSS data frame, grouped by game
get_goalie_stats(): Calculates various stats for all goalies contained in an RTSS data frame, grouped by game
get_team_stats(): Calculates various stats for all teams contained in an RTSS data frame, grouped by game
viz_corsi_graph(): Creates a vizualization of all corsi events by each team for a specific game
viz_corsi_postions(): Creates a vizualization of all corsi events and their positions on the rink for a specific game
viz_team_summary(): Creates a vizualization of various stats for both teams for a specific game
alignment_20002011: Team Conference and Division Alignments for 2000 - 2011
alignment_20112013: Team Conference and Division Alignments for 2011 - 2013
alignment_present: Present Team Conference and Division Alignments
rink: A visual representation of the ice rink for use with ggplot2
team_colors: A data frame containing Primary, Secondar, Tiertiary, and Quarternary hex colors for each team
corsi_events: A list of corsi events and their corresponding ggplot shape numbers
gs_weights_skaters: A list of the components used to calculate gamescore and their corresponding weights
gs_weights_goalies: A list of the components used to calculate gamescore and their corresponding weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.