{"id":22004623,"url":"https://github.com/justinjjlee/nhl-analytics","last_synced_at":"2025-05-05T17:33:48.285Z","repository":{"id":178514466,"uuid":"391399717","full_name":"justinjjlee/NHL-Analytics","owner":"justinjjlee","description":"Data science analyses delving into National Hockey League (NHL) ice hockey statistics","archived":false,"fork":false,"pushed_at":"2025-05-05T08:31:12.000Z","size":31261,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-05T17:33:15.401Z","etag":null,"topics":["bayesian-inference","bayesian-optimization","hidden-markov-model","julia","julia-language","machine-learning","nhl","nhl-data","python","sports","sports-analytics","sports-stats","time-series","visualization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justinjjlee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-07-31T15:52:09.000Z","updated_at":"2025-05-05T08:31:15.000Z","dependencies_parsed_at":"2024-03-04T02:41:28.985Z","dependency_job_id":"50a0f721-6fd7-4402-814d-b9b7ed47c960","html_url":"https://github.com/justinjjlee/NHL-Analytics","commit_stats":null,"previous_names":["justinjoliver/nhl-analytics","justinjjlee/nhl-analytics"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinjjlee%2FNHL-Analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinjjlee%2FNHL-Analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinjjlee%2FNHL-Analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinjjlee%2FNHL-Analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinjjlee","download_url":"https://codeload.github.com/justinjjlee/NHL-Analytics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252542668,"owners_count":21765004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayesian-inference","bayesian-optimization","hidden-markov-model","julia","julia-language","machine-learning","nhl","nhl-data","python","sports","sports-analytics","sports-stats","time-series","visualization"],"created_at":"2024-11-30T00:16:37.491Z","updated_at":"2025-05-05T17:33:48.264Z","avatar_url":"https://github.com/justinjjlee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n\u003ca href=\"https://medium.com/@thinkingjustin\"\u003e\n\u003cimg src=\"docs/images/logo_bing.jpeg\" width=\"80px\" align=\"left\" style=\"margin-right: 10px;\", alt=\"nhla-logo\"\u003e \n\u003c/a\u003e NHL Analytics: A Ice Hockey Sports Analytics Platform Based on National Hockey League (NHL) Data\n\u003c/h1\u003e\n\nIf you find my work to be useful, please star this repository!\n\n[![justinjjlee - NHL-Analytics](https://img.shields.io/static/v1?label=justinjjlee\u0026message=NHL-Analytics\u0026color=blue\u0026logo=github)](https://github.com/justinjjlee/NHL-Analytics \"Go to GitHub repo\")\n[![stars - NHL-Analytics](https://img.shields.io/github/stars/justinjjlee/NHL-Analytics?style=social)](https://github.com/justinjjlee/NHL-Analytics)\n[![forks - NHL-Analytics](https://img.shields.io/github/forks/justinjjlee/NHL-Analytics?style=social)](https://github.com/justinjjlee/NHL-Analytics)\n[![Medium - NHL-Analytics](https://img.shields.io/badge/Medium-Read-green?logo=Medium)](https://medium.com/@thinkingjustin)\n[![Streamlit - NHL-Analytics](https://img.shields.io/badge/Streamlit-Explore-FF4B4B?style=flat\u0026logo=streamlit\u0026logoColor=white/)](https://share.streamlit.io/user/justinjjlee)\n\nThis is a collection of methods for collecting, compiling, cleaning, analyzing, modeling, and predicting team and player (skaters and goalies) performances and strategies. This repository does not claim ownership of the data and reflects the perspectives of the organizations or entities mentioned. All original code (including generic and model algorithms) may be used freely, provided proper citation and credit are given to this repository.\n\n## Analysis \u0026 Insights\nAll of my analyses and deep-dive insights are written and presented in **[my Medium blog](https://medium.com/@thinkingjustin)**.\n\n## Goals \u0026 Capabilities\nI use publicly available data to build up the analytics capabilities and insights generated beyond the headline statics easily measurable. \n\n * Capture complex strategical, behavioral, and performance trends asked by fans of the sport\n * Integrate different data sources (e.g. college hockey roaster and building up performance trend beyond players' professional career)\n\nI hope works saved in this repository allows for replications, explorations, and advancing new measurements and insights.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e\u003cem\u003eApplied Tools\u003c/em\u003e\u003c/strong\u003e\u003c/summary\u003e\n\nCapabilities I use for data collection, processing, and analysis to derive insights, data visualizations, and predictive models.\n\n| Capability | Tools used |\n| --- | --- |\n| General |  \u003cimg src=\"https://github.com/simple-icons/simple-icons/blob/develop/icons/python.svg\" width=\"32\"/\u003e \u003cimg src=\"https://github.com/simple-icons/simple-icons/blob/develop/icons/julia.svg\" width=\"32\"/\u003e |\n| Data Collection \u0026 Processing | \u003cimg src=\"https://github.com/simple-icons/simple-icons/blob/develop/icons/duckdb.svg\" width=\"32\"/\u003e |\n| ML Model Build | \u003cimg src=\"https://github.com/simple-icons/simple-icons/blob/develop/icons/pytorch.svg\" width=\"32\"/\u003e \u003cimg src=\"https://github.com/simple-icons/simple-icons/blob/develop/icons/scikitlearn.svg\" width=\"32\"/\u003e|\n| Interactive Data Visualization | \u003cimg src=\"https://github.com/simple-icons/simple-icons/blob/develop/icons/tableau.svg\" width=\"32\"/\u003e |\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e\u003cem\u003eData Pull \u0026 Process Automation with Github Actions\u003c/em\u003e\u003c/strong\u003e\u003c/summary\u003e\n\nThe **Github Actions** is being used to update the data saved in this repository folder `./latest/`. The data collection is run every day.\n\n * Team-level rank\n * Game-level stats\n * Game-level betting odds\n * Play-by-play records\n\nRequired package version used is saved in `./src/requirement` through `.sh` command. Note that the python environment function pull is based on where the script is located, where as data file reference is based on Github repository head directory.\n\n\u003c/details\u003e\n\n```\n   ,\n    -   \\O                                     ,  .-.___\n  -     /\\                                   O/  /xx\\XXX\\\n -   __/\\ `\\                                 /\\  |xx|XXX|\n    `    \\, \\_ =                          _/` \u003c\u003c |xx|XXX|\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinjjlee%2Fnhl-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinjjlee%2Fnhl-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinjjlee%2Fnhl-analytics/lists"}