Loading...

Auditing UK energy policy without a cluster: a laptop, a duck, and twenty years of wind

Auditing UK energy policy without a cluster: a laptop, a duck, and twenty years of wind

Barry Smart, Director of Data and AI at endjin, sets out to audit UK energy policy with his dad, a fellow energy-industry veteran, on a single laptop. Their question: is the dash to Net Zero quietly compromising the security, reliability, and affordability of energy? They answer it not with opinion but with twenty years of fragmented government data.

Twenty-five years ago, work like this meant a fortune and a monolithic data warehouse. This time it is simple Python ingestion guarded by strict data contracts, a DuckDB medallion model, and requirements written in Gherkin as composable, fully tested functions, running where PySpark once failed to scale. The result: man-months of cost and "data fear" collapsed into a short laptop project, and a glimpse of how data teams freed from infrastructure can finally work as innovation teams.

Chapters

  • 00:00 Introduction: endjin, DuckDB, and auditing UK energy policy
  • 00:50 The data challenge and lessons from a 25-year-old data warehouse
  • 01:40 Architecture: data contracts, Parquet, and a DuckDB medallion model
  • 02:40 A data-driven approach with Gherkin and composable relations
  • 03:40 Generating insights and why DuckDB scales where PySpark did not
  • 04:30 New ways of working for data teams

Published on:

Learn more
endjin.com
endjin.com

We help small teams achieve big things.

Share post:

Related posts

Providing comparative context with DAX Calculated Tables under Row Level Security

Row Level Security in Power BI solves one problem (who sees what) but introduces another - comparisons across the full dataset become impossib...

1 day ago

How to Implement Generation in RAG

Understand the generation step of RAG: how LLMs use augmented context to produce grounded responses, how to enforce structured outputs with Py...

1 day ago

How to Implement Augmentation in RAG

Understand the augmentation step of RAG: how retrieved documents are structured into prompts, how metadata and citations improve response qual...

2 days ago

How to Implement Retrieval in RAG

Understand the retrieval step of RAG: Learn how database queries, keyword search, vector search, and hybrid approaches find the right informat...

3 days ago

TypeDeclaration: An Abstraction for Understanding JSON Schema

The Corvus.Json.CodeGeneration library analyses JSON Schema and builds a TypeDeclaration tree that maps schema patterns to code patterns. The ...

7 days ago

Optimising DAX: Practical Examples

The final post in the Optimising DAX series: the CALCULATE trap, variables and IF.EAGER, slicer costs, and a practical approach to isolating s...

8 days ago

Optimising DAX: Data Materialisation

Data materialisation is when the storage engine gives up on efficient processing and rebuilds the entire table. This post explains what trigge...

9 days ago

Building API Reference Documentation From Code, Part 2: Under the Hood

A deep dive into the cross-assembly linking, PDB-based source links, TFM scanning, enrichment merging, and search indexing that power our API ...

10 days ago

Building API Reference Documentation From Code, Part 1: The Pipeline

We generate about 8,800 API reference pages from 16 libraries across two engine versions, with source links, TFM availability badges, and hand...

11 days ago

Writing Effective Copilot Instructions for Complex Codebases

A flat copilot-instructions.md works for small projects. When your codebase hits 500k lines, 19 projects, and multiple code generators, you ne...

14 days ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.