Logo Lanfrica

open-admin-data/niger-administrative-divisions

Domain:

geospatial

Record type:

dataset
Creator:
ope
Host:
Open dataset of Niger's administrative divisions — 8 regions, 67 departments, 266 communes with coordinates. CC-BY-4.0 # Niger Administrative Divisions / Niger ## Overview | Item | Details | |------|---------| | Region | 8 | | Department | 67 | | Commune | 266 | | 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 | Departments | Communes | Link | |---|----|----|----|------| | 1 | Zinder | 11 | 55 | Browse | | 2 | Dosso | 8 | 43 | Browse | | 3 | Tillabéri | 13 | 45 | Browse | | 4 | Tahoua | 13 | 44 | Browse | | 5 | Agadez | 6 | 15 | Browse | | 6 | Niamey | 1 | 5 | Browse | | 7 | Diffa | 6 | 12 | Browse | | 8 | Maradi | 9 | 47 | Browse | ## Data Files | File | Format | Description | |------|--------|-------------| | all-region.json | JSON | All 8 region records | | all-department.json | JSON | All 67 department records | | all-commune.json | JSON | All 266 commune 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-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']['department']} departments") ``` ### 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=department, 3=commune | | `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 …