Courses / Course 05

Data Quality and Reconciliation

Prove the numbers are right instead of hoping they are.

  • IntermediateLevel
  • about 1.5 hoursTo complete
  • 6 lessonsWith checked exercises
  • FreeNo account needed

What you will learn

  • Find and remove duplicates on business keys
  • Measure late data and find missing days
  • Write not-null, accepted-values and range checks
  • Reconcile orders against payments
  • Build a daily data quality report

Syllabus

  1. 1
    What can go wrong with data

    Meet the shop's raw feeds: the data as it really arrives, with every common problem built in.

    10 min
  2. 2
    Duplicates

    Find rows that were loaded more than once, and keep exactly one version of each.

    14 min
  3. 3
    Late data and gaps

    Catch data that arrives days late, and days when nothing arrived at all.

    16 min
  4. 4
    Validity checks

    Rules every row must follow: required values, allowed values and sensible ranges.

    12 min
  5. 5
    Reconciliation

    Prove that two systems agree, and explain every difference when they do not.

    16 min
  6. 6
    Mini project: the daily data quality report

    Turn every check from this course into one report that a pipeline can run every morning.

    20 min

The data you will use

Nordic Shop raw feeds

The same Nordic Shop, but before anyone cleaned the data. Every night a job loads the day's orders from the shop system, the payment provider sends its own file, and the customer system keeps a log of every change to a customer.

Tables: raw_orders_feed, payments, customer_history, order_events, customer_contacts, deletion_requests

The lesson What can go wrong with data walks you through every table and column. Under every code box you can also open a list of the tables and what each column means.

Learn in public on GitHub

Do the exercises in the browser, or in the public course repo so your work shows on your GitHub profile.

  1. Fork the course repo

    One click on GitHub gives you your own copy with every exercise and dataset.

  2. Solve and open a pull request

    Put your answers in your own folder and open a pull request. A bot checks them and comments with ✅ or ❌.

  3. Join the graduates

    Finished a course? Add your name to GRADUATES.md. Your work stays on your GitHub profile for recruiters to see.

Open this course on GitHub →

What you will build

A daily quality report on the shop's raw feeds: duplicates, gaps, bad values and payment mismatches.

Based on a real project: Revenue Reconciliation