LiveIndependent · Data engineering2026

Aqar عقار

Saudi real estate, from the official index to live asking prices · live report

16 / 16data tests gate every build
01The problem

Why it exists

GASTAT publishes the official Real Estate Price Index as a print-layout bilingual workbook; listings live elsewhere. Aqar puts both through one tested dbt + DuckDB pipeline so they can be read side by side, and refuses to publish if any test fails.

02The system

What I built

GASTAT workbookheaders found, not assumed
Privacy filterno names or deeds
dbt + DuckDBstaging, cleaning, marts
Reportprices, yields, trends
  1. A parser that finds the workbook's headers instead of trusting row numbers, so next quarter loads unchanged
  2. Staging, cleaning and marts in dbt; Arabic city names mapped to GASTAT regions
  3. Privacy at ingestion: advertiser names, deed numbers and free text never enter the warehouse, and a test enforces it
  4. A report with index trends, regional change, city and district prices and rental yields
03The result

What it achieved

1,014 published rates reconciled to within rounding; 16/16 data tests gate every build. Riyadh region +55.9% since 2021 vs +30.7% nationally; gross apartment yield 8.5% in Dammam vs 4.5% in Riyadh.

Stack

PythondbtDuckDBSQLData quality

Timeline

2026

My role

Solo build