Skip to content

Bangladesh Location Registry

A versioned Bangladesh location dataset with census, postal, facility, ward, and infrastructure records, each traced to the government-published source it came from.

Role
Data modeling, validation, and release engineering
Scope
Provenance, transformation, validation, and distribution
Status
Publicly deployed
Bangladesh Location Registry place overview for a union, with population figures, a village table, and evidence health

Problem

Bangladesh location records are spread across government sources that each use a different structure. That makes normalized lookup, provenance review, and repeatable machine consumption difficult for anyone building on the data.

Constraints

  1. C1

    Administrative boundaries, names, and facilities change over time.

  2. C2

    Source coverage and confidence vary, and neither establishes authoritative identity or address truth.

  3. C3

    Health, emergency, eligibility, routing, or legal use requires confirmation from a current authoritative source.

Architecture

Source and provenance manifests describe where each record comes from, and normalized records are governed by JSON Schema. JavaScript scripts validate those records and generate versioned JSON, JSONL, compressed, and SQLite releases with samples and documentation.

01

Source records

Source and provenance manifests record where each dataset came from, what it covers, and its limitations.

02

Transformation

Source data is normalized into geographic and facility records governed by JSON Schema.

03

Release formats

Versioned JSON, JSONL, compressed, and SQLite outputs are generated from the same model, with samples and documentation.

04

Validation

JavaScript scripts validate records against the schemas and produce deterministic release builds.

Decisions

D1

Keep lineage beside normalized data

Storing source lineage and known limitations next to the records keeps uncertainty visible instead of hiding it behind a clean format.

D2

Commit schemas and manifests, generate releases

Reviewers read the schemas and manifests directly in the repository, while distribution files come from scripts. That adds release work but makes every change reviewable.

D3

Publish several formats from one model

Generating every format from a single model avoids maintaining divergent datasets that slowly disagree with each other.

Contribution

  • Designed normalized geographic and facility schemas.
  • Assembled provenance and coverage manifests.
  • Built validation and deterministic release-generation scripts.
  • Documented responsible use, the update process, samples, citation, and source terms.

Outcomes

  • Consumers can download structured location data as JSON, streaming JSONL, or SQLite.
  • Consumers can validate records against the published schemas.
  • Coverage and provenance limitations can be traced before the data is used.

Product screenshot

Bangladesh Location Registry place overview for a union, with population figures, a village table, and evidence health
Each place shows normalized data alongside its source coverage, so consumers can judge confidence before using it.

Verified stack

  • JSON
  • JSONL
  • SQLite
  • JavaScript
  • Node.js
  • GitHub Actions
  • CI/CD

Working through something similar?

Share your challenge, scope, and timeline to start a focused conversation.