Open dataset of Uganda's administrative divisions — 4 regions, 135 districts, 203 counties, 1520 sub-counties with coordinates. CC-BY-4.0
# Uganda Administrative Divisions / Uganda
## Overview
| Item | Details |
|------|---------|
| Region | 4 |
| District | 135 |
| County | 203 |
| Sub-county | 1,520 |
| 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 | Countys | Sub-countys | Link |
|---|----|----|----|----|------|
| 1 | Central | 26 | 47 | 268 | Browse |
| 2 | Eastern | 37 | 54 | 454 | Browse |
| 3 | Northern | 37 | 48 | 339 | Browse |
| 4 | Western | 35 | 54 | 459 | Browse |
## Data Files
| File | Format | Description |
|------|--------|-------------|
| all-region.json | JSON | All 4 region records |
| all-district.json | JSON | All 135 district records |
| all-county.json | JSON | All 203 county records |
| all-subcounty.json | JSON | All 1,520 sub-county records |
| all-flat.json | JSON | Levels 1-3 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, 3=county, 4=sub-county |
| `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/n …