Skip to content

Utilizes Raw Hockey PBP Data to Create a "Lock-Line" and "Point of no Return" line

Notifications You must be signed in to change notification settings

EFastner/Lock_Line_Analysis

Repository files navigation

Lock-Line-Analysis

A suite of tools used to create a "lock-line" and "point of no return" based on historical NHL team results

Shiny App

Corresponding Shiny App is now live at this location

Overview

This project is largely inspired by two articles posted by Tyler Dellow at The Athletic during the 2017-2018 NHL hockey season. It involved analyzing game-by-game results for all teams from the 05-06 season onwards to identify the minimum number of points that any playoff team had achieved during that time frame, as well as the maximum number of points that any non-playoff team had achieved during the same time frame. The result was 2 lines, the lock line and the point of no return:

Lock Line: The minimum number of points that any team has achieved and still made the playoffs after each game (1-82) of the season
Point of no Return: The maximum number of points that any team has achieved and still missed the playoffs after each game (1-82) of the season

Contents

  1. Lock_Line_Analysis.rmd- An R Markdown overview of my methodology, resulting data sets, and some basic take-aways. There are also corresponding HTML and PDF documents
  2. lock_line_creation.R- A raw set of functions for creating the lock line and point of no return. May need to be modified to run on your local system
  3. lock_line_viz.R- A quick function for graphing the lock line and point of no return
  4. Final Data Sets- The final data sets for the game-by-game results summaries, the lock line and point of no return lines, as well as a list of playoff teams by season
  5. shiny_app- The code for a basic Shiny app exploring a team's performance throughout the season and how it compares to the lock line and point of no return

About

Utilizes Raw Hockey PBP Data to Create a "Lock-Line" and "Point of no Return" line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published