Skip to content
DDLC.Data Development Life Cycle
← All insights
Data architecture3 min read

Raw, clean, useful: a practical way to structure messy data

Separating what arrived from what was corrected and what is ready to use makes change easier to understand—and easier to recover from.

A real-world situation

Illustrative situation: a partner changes a date field in its monthly file. The transformation overwrites the previous table, and the team can no longer explain why last month’s total changed.

What is really getting in the way?

When raw input, cleaning rules and business metrics are mixed together, every correction can erase evidence or break another report.

01 / 03

Keep an original copy

Store source data as it arrived, with an arrival time and source identifier. That lets you inspect an unexpected value or rerun a period after a rule changes. Limit retention and access according to the data, rather than keeping everything forever. The raw layer is evidence, not an invitation for everyone to query unprepared records.

For a small project this could be a dated file or table, not a large data lake. The principle matters more than the product name.

02 / 03

Standardize once, explain the rules

In a separate step, validate types and required fields, normalize dates and codes, and record rejected rows. Then reconcile entities that arrive from multiple systems. A customer ID in a shop and an account ID in finance may describe the same organization, but the match needs a rule and an exception path.

Version the transformations so a changed rule can be reviewed and its impact measured. Avoid silently changing historic numbers without an explanation.

03 / 03

Publish for a specific use

Build a final dataset around a business question: weekly revenue, stock exceptions or customer renewals. Define who uses it, its refresh expectation and the meaning of its measures. Only create additional layers when they solve a real problem of reuse, quality or access.

Questions worth asking

  • Can we reproduce the original input?
  • Where are invalid rows recorded?
  • Who approved a transformation rule?
  • Which output is safe for business users?
The useful takeaway

Layers are useful when they clarify responsibility: what arrived, what changed and what people can rely on.