Data architecture
Every number needs a trail.
The website reads canonical master files at build time. It does not hard-code country scores into templates, and a missing observation never becomes a zero.
Data pipeline readyAdd the two canonical master CSVs to
data/raw/. The site will populate automatically on the next build.Data status →Latest rows0
Historical rows0
Latest countries—
Historical span—
CANONICAL
Latest snapshot
08_DATA_MASTER_LATEST.csv
Standardized scores, levels, ranks, 3-year and 20-year trend labels, plus provenance fields.
CANONICAL
Historical master
09_DATA_MASTER_TIMESERIES.csv
Country-year series for Identity, Drive, Grit, combined measures, fracture, openness and provenance.
RULE
One source of truth
Legacy duplicate master files are not combined with the canonical files.
Expected latest fields
iso3countryasof_yearidentity_zidentity_levelidentity_rankidentity_20yidentity_3yidentity_sourcedrive_zgrit_zcombo_avg_zidentity_fracture_zopenness_exposure_zBuild-time connection
data/raw/08_DATA_MASTER_LATEST.csvdata/raw/09_DATA_MASTER_TIMESERIES.csvnpm run build