Logo Lanfrica

Msuluzya/TanzaniaRegions

Domain:

geospatial

Record type:

dataset
Creator:
Msu
Host:
A comprehensive geographical database of Tanzania containing regions, districts, wards, streets, places, and villages with NAPA postcode integration. # Tanzania Regions Database A comprehensive geographical database of Tanzania containing regions, districts, wards, streets, places, and villages with NAPA postcode integration. ## โœจ Features - ๐ŸŒ **Complete Coverage** - All 36 Tanzanian regions with 220+ districts and 1,600+ wards - ๐Ÿ˜๏ธ **Detailed Data** - Villages, streets, places, and postcodes for each ward - ๐Ÿ“ฎ **NAPA Integration** - Postcode matching with Tanzania National Postage Agency - ๐Ÿ”’ **Data Integrity** - Zero data loss with complete backup preservation - ๐Ÿ“Š **Multiple Formats** - JSON, CSV, and SQL exports available - ๐Ÿš€ **Ready to Use** - Drop-in integration for web, mobile, and desktop applications ## ๐Ÿ“Š Database Statistics | Metric | Count | |--------|-------| | Regions | 36 | | Districts | 220+ | | Wards | 1,600+ | | Villages | Complete | | Postcodes | NAPA integrated | ## ๐Ÿš€ Quick Start ### Installation ```bash git clone github.com cd TanzaniaRegions ``` ### Usage Examples #### JavaScript/Node.js ```javascript const fs = require('fs'); const database = JSON.parse(fs.readFileSync('json/tanzania-regions.json', 'utf8')); // Get all regions const regions = Object.keys(database); console.log('Regions:', regions); // Get districts in Dar es Salaam const darDistricts = Object.keys(database['Dar es Salaam']); console.log('Dar es Salaam Districts:', darDistricts); ``` #### Python ```python import pandas as pd # Load Kigoma region data df = pd.read_csv('csv/kigoma.csv') # Filter by district kigoma_urban = df[df['district'] == 'Kigoma'] print(f"Kigoma Urban wards: {len(kigoma_urban)}") ``` #### PHP ```php getStatistics(); echo "Total regions: " . $stats['regions']; ?> ``` ## ๐Ÿ“ File Structure ``` TanzaniaRegions/ โ”œโ”€โ”€ json/ โ”‚ โ””โ”€โ”€ tanzania-regions.json # Complete database (557KB) - All regions, districts, wards with villages, streets, places, and NAPA postcodes โ”œโ”€โ”€ csv/ # 36 region files - Complete regional data with 8 โ€ฆ