Sitemap
PipelineToDE

Learn data engineering fundamentals, absorb career advice and get inspired by creative data-driven projects — all with the goal of helping you gain the proficiency and confidence to land your first job.

How I Used Python & SQL To Build A Looker Dash During A Baseball Game

The 35 line SQL Query That Powers A Top 3 SQL Publication’s Analytics (Part II).

7 min readApr 23, 2024

--

Currently job searching? Give yourself an edge by developing a personal project using my free 5-page project ideation guide.

Within the past 3 years, Major League Baseball did something incredible with its games. It sped them up. With games taking, on average, over 3 hours to complete, the MLB introduced the pitch clock, which functions as a really slow version of the NFL’s 40-second game clock. This innovation has reduced the average MLB game time to 2.5 hours.

And this is roughly the time in which it took me to put the pieces together of a project I’d been working on, in the background, for a few weeks: The automation of reporting for Learning SQL. As a co-editor of a publication focused on teaching the next generation of SQL developers, it seemed hypocritical and almost wrong that we didn’t yet have a comprehensive, reliable source of data-driven reporting.

So, as I explained in part I, I spent some time using the Unofficial Medium API to map out and then ingest data for the various metrics I’d need to better understand our content’s performance.

While part I covered the larger ideation and architecture, my goal in this part is to dive a bit deeper into the code to demystify the perceived complexity of building out a professional-grade analytics dashboard.

--

--

PipelineToDE
PipelineToDE

Published in PipelineToDE

Learn data engineering fundamentals, absorb career advice and get inspired by creative data-driven projects — all with the goal of helping you gain the proficiency and confidence to land your first job.

Zach Quinn
Zach Quinn

Written by Zach Quinn

Journalist—>Sr. Data Engineer; new stories weekly.

No responses yet