Principles of Data Engineering
The book

Principles of Data Engineering

Business reality made visible

Principles of Data Engineering is a guide to building data representations that make business reality visible.

Most data engineering books teach pipelines, platforms, and tools. This book is about something more fundamental: turning fragments of reality into reliable information that organisations can use to understand, decide, and act.

The recurring theme of the book is:

Data engineering is the process of applying business intent to data to create information—first for sight, then insight.

It is underpinned by a central premise:

Data is a fragment of reality.

That’s why data engineering is not about moving records from point A to point B. It is to make reality legible to business.

The book is organised around its principles:

  • Expressive entities
  • Meaningful fragments
  • Create affordance
  • Anticipate errors
  • Proportionate change
  • Illuminate ambiguity
  • Diagnose root causes

Data representations that make reality visible. Data representations that survive real systems. Data representations that stop organisations from guessing.

Read the opening essay

Glamorous data is the ability to see interesting things, while unglamorous data is the ability to see anything at all.

Read Unglamorous data →

Download the book

Use the book with AI agents

This book is available as agent skills, for example for Claude Code.

Increasingly, data engineering work is being done by AI. Does that mean data engineers are obsolete?

On the contrary. The principles of this book show why human guidance is critical to making AI agents effective. The chapter Steering AI agents shows how the modern data engineer can steer AI agents by understanding and applying the principles of this book.

Applied to Microsoft Fabric

The principles are technology-agnostic. This book applies them to Microsoft Fabric.

Many of the book’s core patterns need to be automated: automated testing, stage-and-merge loading, fault tolerance, incremental bookmarks, dynamic measure selectors, metadata as data, and dependency-aware load orchestration.

These are fundamental, and data engineers should not have to hand-roll them on every project.

These are implemented in Weaver, an open-source framework for modern data engineering on Microsoft Fabric:

  • Full parity between Lakehouses and Warehouses: Python, Spark SQL and T-SQL load tables and files to one contract.
  • A single DAG across Fabric: Lakehouses, Warehouses, semantic models and reports, built, loaded and tested in order.
  • Enterprise Power BI: automated DAX tests, TMDL modelling conventions, and reports deployed to different sources.
  • Production-grade CI/CD: swap deployment targets with a config file, with no code change.
  • Live observability: a DirectLake report of estate health, lineage, bus matrices and load performance.
  • Built for AI agents: a Python API and CLI with structured JSON output.

Explore Weaver →

Demonstrated on I ♥ Gov

The principles in this book are demonstrated through I ♥ Gov.

If anything is fragmented and hard to understand, it is government. That’s why government is one of the best places to show how data can make business reality visible.

I ♥ Gov brings public data from every department into one connected view of government, including the budget, who government hires, what it pays others to provide, who it funds, and who it directly supports. It refreshes every night.

From making government easy to understand through expressive entities, to dealing with breaking changes in government sources, I ♥ Gov demonstrates every principle in this book.

It, too, is built on Weaver, using the same AI agent skills published with this book.

Visit I love Gov →

Some ideas inside

Data Without Guessing

This book is provided as part of Data Without Guessing.

Comments and questions are welcome: contact [email protected].