Logo Lanfrica

open-admin-data/somalia-administrative-divisions

Domain:

geospatial

Record type:

dataset
Creator:
ope
Host:
Open dataset of Somalia's administrative divisions — 18 regions, 91 districts with coordinates. CC-BY-4.0 # Somalia Administrative Divisions / Soomaaliya ## Overview | Item | Details | |------|---------| | Region | 18 | | District | 91 | | 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 Region | # | Region | Districts | Link | |---|----|----|------| | 1 | Awdal | 4 | Browse | | 2 | Bakool | 5 | Browse | | 3 | Banadir | 18 | Browse | | 4 | Bari | 6 | Browse | | 5 | Bay | 4 | Browse | | 6 | Galgaduud | 5 | Browse | | 7 | Gedo | 6 | Browse | | 8 | Hiraan | 3 | Browse | | 9 | Lower Juba | 4 | Browse | | 10 | Lower Shabelle | 7 | Browse | | 11 | Middle Juba | 3 | Browse | | 12 | Middle Shabelle | 4 | Browse | | 13 | Mudug | 5 | Browse | | 14 | Nugaal | 3 | Browse | | 15 | Sanaag | 3 | Browse | | 16 | Sool | 4 | Browse | | 17 | Togdheer | 4 | Browse | | 18 | Woqooyi Galbeed | 3 | Browse | ## Data Files | File | Format | Description | |------|--------|-------------| | all-region.json | JSON | All 18 region records | | all-district.json | JSON | All 91 district 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']['district']} districts") ``` ### 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=district | | `level_name` | object | Level la …