Your reading path
Start with the right questions.
From principle to practice
An illustrative four-row diagnostic
Open the worked exampleBegin with row grain and source identity
Write what one row represents: order line, invoice header, event, account snapshot or a derived summary. Identify the key within its source namespace and the event or revision time. A familiar field called id is not proof of global uniqueness or stable business meaning.
Keep source values separate from parsed, normalized or calculated fields. When an export changes units or collapses several source events, record that transformation. A structurally tidy result can otherwise hide the information the model must use.
An illustrative four-row diagnostic
Assume the following invented USD-cent line-item fixture. A missing quantity is unknown, not a zero purchase. The fourth row is explicitly a duplicate export of L3, rather than a second legitimate order line.
- Delivered row
- R1
- Line identity
- L1
- Quantity
- 2
- Price per item, cents
- 300
- Known line amount, cents
- 600
- Delivered row
- R2
- Line identity
- L2
- Quantity
- unknown
- Price per item, cents
- 500
- Known line amount, cents
- unknown
- Delivered row
- R3
- Line identity
- L3
- Quantity
- 1
- Price per item, cents
- 1200
- Known line amount, cents
- 1200
- Delivered row
- R4
- Line identity
- L3 duplicate
- Quantity
- 1
- Price per item, cents
- 1200
- Known line amount, cents
- 1200
Reconcile before claiming a total
There are four delivered rows but three unique line identities under the example’s rule. Summing the known delivered amounts gives 3,000 cents; removing the documented duplicate leaves 1,800 known cents. Neither value is a complete purchase total because L2 remains unknown.
Observed quantity is present for two of the three unique lines, not for every line. Replacing the unknown with zero would create an apparently complete table while changing its meaning. This fixture shows the decisions that a review report must expose; it is not a suggested acceptance threshold or a measured source result.
Validate representation without confusing it with truth
Use a schema to check required fields, types, allowed categories, key constraints and declared missing-value tokens. The Frictionless Table Schema specification is one primary reference for describing such constraints. Passing a schema does not establish that a price was copied correctly or that a source event occurred.
For this fixture, require a stable line ID and distinguish integer cents from formatted currency strings. A negative quantity might be an error in one task and a legitimate return in another. The dictionary and workflow context determine the rule; rejecting every negative value is not a universal business-data policy.
Review time and relationships as part of quality
If a payment or correction entered the source after the prediction date, it can be unsuitable as an earlier model feature even when its business event date is older. Record information availability separately from event time where the task requires an as-of view.
For linked tables, test uniqueness, unmatched keys, cardinality and control totals. A join can multiply a legitimate amount without producing a parsing error. Preserve a relationship exception file and avoid silently dropping unmatched records to make the table appear clean.
Report missingness and transformations with denominators
For each quality check, state the inspected units, source/time slices, failure count, accepted treatment and unresolved cases. Distinguish a human reference audit from model-prediction errors and from automated validation. A sample finding is evidence about that sample, not certification of every unreviewed record.
SQLite’s aggregate documentation illustrates that aggregation functions handle nulls in specific ways. The business question still needs to choose its denominator and missingness policy. Keep those choices in the report rather than relying on whatever a default query happens to return.
Choose the next preparation step
A useful pilot output contains the dictionary, source/derived mapping, tested rules, reconciled counts and an exception ledger. Decide whether a defect can be corrected from retained evidence, requires source clarification, calls for exclusion or leaves the task unsupported.
Use the detailed join-quality guide and missing-value examples for deeper procedures. Actual source access, preparation, accepted units and permitted use are scoped for the project. No generic “clean data” label replaces these decisions.
Questions buyers ask
Sources & research notes
Public documentation reviewed 2026-11-13. Provider descriptions and published terms are attributed below. Published facts are attributed to their sources. Worked files are labeled as illustrative or as an inspected editorial source; neither implies commercial dataset clearance.
- Table Schema specificationFrictionless Data · Reviewed 2026-11-13
Primary reference for field constraints and missing-value declarations; source truth and business meaning require separate review.
- Built-in Aggregate FunctionsSQLite · Reviewed 2026-11-13
Primary reference for aggregate behavior; the four-row fixture and review arithmetic are independently authored.
