2021 NHL Expansion Draft analyzer
Data science app using Python and Streamlit to visualize sentiment from NHL fans and insiders on Twitter.
A data engineering journey towards modernizing NHL data
📌 This is the origin story (v1, 2022). The stack described here - Meltano/Singer taps and BigQuery - has since been fully rebuilt on a leaner, free, local-first foundation (dlt + DuckDB) with a proper calibrated ML model and a live app. For where this went, see datarena.app and the xG model deep-dive. I’ve kept this post as-is because the journey is worth remembering.
This is the first of a series of posts that delves into exploring, organizing, and modeling public Hockey (NHL) data. I am one of the two developers of this work alongside my colleague Gavin He. I occasionally cross-post the cool work we do within our “organization” (called the-data-base) here on fullstaxx.
A modern application of data-engineering to enable data science on public Hockey (NHL) data for the purposes of learning & development
The motivation behind this project was simple: make public hockey data available using modern technologies for the purposes of data-science & data-visualization. We wanted to be able to answer questions like…
In order to get to this state of-course, a lot of data-engineering was necessary. Below is a visual representation of the project architecture.

Currently, we only have a single source of data: the NHL Stats API. The Github repo that we built to extract the data is called tap-nhl. It is a Singer tap for the NHL Stats API.
Built with the Meltano Tap SDK for Singer Taps.
Below is a flow diagram explaining how it works:

Resources
tap-nhl - since replaced by dlt pipelines in datarena-dltAll of this work is contained within a Github repo called dbt-nhl-breakouts and uses dbt to model our raw data. It contains the source code used to transform raw nhl data from the NHL Stats API into analysis-ready models.
In other words, this is where the SQL magic happens using dbt. Ultimately, this work converts confusing raw data into:
Resources
dbt-nhl-breakouts - the dbt modeling has since moved to dbt-duckdb in datarena-dbt, with tests on every grain and SQLFluff lintingConsider this section separate from the rest. Each question that we decide to answer of our newly modeled data lives in this bucket. In v1 this was a handful of notebooks; in the 2026 rebuild it became a proper, packaged ML effort - a calibrated expected-goals model with temporal validation and experiment tracking.