Learning Data

Topics › Analytics engineering › In the weeds of data crafting

Declare it, then build it: the model, the building work, and four phases

The opening film of a technical series for analytics engineers. Declare the data model beside the code, then build it with dbt: layer by layer, domain by domain, in four phases (ask, promise, build, keep) and ten steps, from a question to tested, versioned and documented tables. A blueprint lays no bricks, and dbt calls every query a model: the model is what you declare.

5½ min4 labs8 scenariosPause and thinkEnglish captions

Builds on the series From words to data, and where it ends: Keeping it true

Watch the film

Press Play, or pick a chapter. Turn on Pause and think to stop for one question at the end of chapters.

0:00

See it in the project

Every card in the film shows a real file from the example dbt project. Open the ones each chapter shows, on GitHub, or run the whole project yourself.

Think it through

The four Pause and think questions, for a class or a team. Open one to see the answer.

In the series: In the weeds of data crafting

Film 1 of 10.

Next · Film 2 of 10 →

Start from a question

A model has no edge until a question gives it one. Model only what the question touches, and name who owns each meaning first.

5 min · 4 labs · 8 scenarios · In the weeds of data crafting

  1. 1Declare it, then build it
  2. 2Start from a question
  3. 3What makes it the same one
  4. 4One row of what, and when
  5. 5Promises and proofs
  6. 6Built in layers
  7. 7Who owns what
  8. 8An agent on the team
  9. 9Written once
  10. 10End to end