Logo Lanfrica

open-admin-data/rwanda-administrative-divisions

Domain:

geospatial

Record type:

dataset
Creator:
ope
Host:
Open dataset of Rwanda's administrative divisions — 5 provinces, 30 districts, 416 sectors with coordinates. CC-BY-4.0 # Rwanda Administrative Divisions / Rwanda ## Overview | Item | Details | |------|---------| | Province | 5 | | District | 30 | | Sector | 416 | | Coordinates | ✅ Included (all levels) | | Formats | JSON, NDJSON, CSV | | License | CC-BY-4.0 | | Last Updated | 2026-06-01 | | Website | openadmindata.org | | API | openadmindata.org | ## Browse by Province | # | Province | Districts | Sectors | Link | |---|----|----|----|------| | 1 | Kigali City | 3 | 35 | Browse | | 2 | Southern Province | 8 | 101 | Browse | | 3 | Western Province | 7 | 96 | Browse | | 4 | Northern Province | 5 | 89 | Browse | | 5 | Eastern Province | 7 | 95 | Browse | ## Data Files | File | Format | Description | |------|--------|-------------| | all-province.json | JSON | All 5 province records | | all-district.json | JSON | All 30 district records | | all-sector.json | JSON | All 416 sector records | | all-flat.json | JSON | Levels 1-2 flat array | | all-flat.ndjson | NDJSON | Streaming format | | all-flat.csv | CSV | Spreadsheet format | | hierarchy.json | JSON | Nested tree | | schema.json | JSON Schema | Data schema | ## Quick Start ### Python ```python import json with open("data/all-province.json", "r", encoding="utf-8") as f: data = json.load(f) for r in data: print(f"{r['name']['local']} ({r['name']['en']}) — {r['children_count']['district']} districts") ``` ### JavaScript ```javascript import { readFileSync } from "fs"; const data = JSON.parse(readFileSync("data/all-province.json", "utf-8")); console.log(`Total: ${data.length} provinces`); ``` ## Schema | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier | | `level` | integer | 1=province, 2=district, 3=sector | | `level_name` | object | Level label (local + English) | | `name.local` | string | Name in local script | | `name.en` | string | English name | | `name.slug` | string | URL-safe slug | | `parent` | object/null | Parent division reference | | `ancestors` | arr …