Logo Lanfrica

open-admin-data/eswatini-administrative-divisions

Domaine:

geospatial

Type de record:

dataset
Créateur:
ope
Hôte:
Open dataset of Eswatini's administrative divisions — 4 regions, 55 tinkhundla with coordinates. CC-BY-4.0 # Eswatini Administrative Divisions / eSwatini ## Overview | Item | Details | |------|---------| | Region | 4 | | Tinkhundla | 55 | | Coordinates | ✅ Included (all levels) | | Formats | JSON, NDJSON, CSV | | License | CC-BY-4.0 | | Last Updated | 2026-08-20 | | Website | openadmindata.org | | API | openadmindata.org | | Flag | PNG · SVG · PDF | | National Anthem | 🎵 Listen & Download Eswatini National Anthem MP3 | ## Browse by Region | # | Region | Tinkhundlas | Link | |---|----|----|------| | 1 | Hhohho | 14 | Browse | | 2 | Lubombo | 11 | Browse | | 3 | Manzini | 16 | Browse | | 4 | Shiselweni | 14 | Browse | ## Data Files | File | Format | Description | |------|--------|-------------| | all-region.json | JSON | All 4 region records | | all-tinkhundla.json | JSON | All 55 tinkhundla records | | all-flat.json | JSON | Levels 1-1 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-region.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']['tinkhundla']} tinkhundlas") ``` ### JavaScript ```javascript import { readFileSync } from "fs"; const data = JSON.parse(readFileSync("data/all-region.json", "utf-8")); console.log(`Total: ${data.length} regions`); ``` ## Schema | Field | Type | Description | |-------|------|-------------| | `id` | string | Unique identifier | | `level` | integer | 1=region, 2=tinkhundla | | `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` | array | Full ancestor chain | | `children_count` | object | Count of children per level | …