CoolFace
Datasetpublic

electricsheepafrica/africa-uganda-rural-urban-population-for-the-146-districts-in-uganda-a98fe25f

Rural Urban Population for the 146 Districts in Uganda | Africa (Uganda Bureau of Statistics) 145 rows - 1 Africa country/area - 2022 - source table - Engineered by Electric Sheep Africa TL;DR This dataset contains 145 rows from Uganda Bureau of Statistics, covering Rural Urban Population for the 146 Districts in Uganda. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-uganda-rural-urban-population-for-the-146-districts-in-uganda-a98fe25f.

sourceHugging Faceotherupdated 2mo agoView on Hugging Face
0likes14downloads
Dataset Card

Rural Urban Population for the 146 Districts in Uganda | Africa (Uganda Bureau of Statistics)

145 rows - 1 Africa country/area - 2022 - source table - Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)

rows countries period indicators license

TL;DR

This dataset contains 145 rows from Uganda Bureau of Statistics, covering Rural Urban Population for the 146 Districts in Uganda. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.

What This Dataset Measures

Demographic datasets help analysts understand population structure, household conditions, migration, gender, age, and settlement patterns.

Source-provided context: Rural Urban Population for the 146 Districts in Uganda - Last Updated on 26th May 2022

How To Read This Dataset

  • —One row means: one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
  • —Primary geography column: country_iso3.
  • —Best time column: year.
  • —Time coverage basis: year.
  • —Recommended join keys: country_iso3 where available plus source-specific keys.

Coverage

DimensionValue
Rows145
Countries/areas1
First period2022
Last period2022
Indicators0
Columns66
Source formatXLSX

Geographic Coverage

Top areas shown below, sorted by row count when available:

AreaRowsFirst yearLast yearName
UGA14520222022Uganda

Indicators, Variables, Or Resource Contents

  • —This repo preserves one source tabular resource with its usable columns kept together.

Schema

ColumnTypeDescriptionExample
source_record_idstringStable row identifier assigned during Electric Sheep Africa engineering.ubos-stat-d276910bff87b0:rural-urban-population:0
country_iso3stringISO3 country or area code.UGA
country_namestringCountry or area name.Uganda
source_sheetstringSource column from the original resource.Rural Urban Population
yearint64Observation year.2022
d_1int64Source column from the original resource.2
abimstringSource column from the original resource.Adjumani
d_113400int64Source column from the original resource.226500
d_34600int64Source column from the original resource.59400
d_78800int64Source column from the original resource.167100
d_120700int64Source column from the original resource.228600
d_36800int64Source column from the original resource.59900
d_83900int64Source column from the original resource.168700
d_128200int64Source column from the original resource.230500
d_39100int64Source column from the original resource.60400
d_89100int64Source column from the original resource.170100
d_136200int64Source column from the original resource.232400
d_41500int64Source column from the original resource.60900
d_94700int64Source column from the original resource.171500
d_144600int64Source column from the original resource.234300
d_44100int64Source column from the original resource.61400
d_100500int64Source column from the original resource.172900
d_153500int64Source column from the original resource.235900
d_46800int64Source column from the original resource.61800
d_106700int64Source column from the original resource.174100
d_162900int64Source column from the original resource.237400
d_49700int64Source column from the original resource.62200
d_113200int64Source column from the original resource.175200
d_172600int64Source column from the original resource.238800
d_52600int64Source column from the original resource.62600
d_120000int64Source column from the original resource.176200
d_182800int64Source column from the original resource.240000
d_55700int64Source column from the original resource.62900
d_127100int64Source column from the original resource.177100
d_193600int64Source column from the original resource.241200
d_59000int64Source column from the original resource.63200
d_134600int64Source column from the original resource.178000
d_204700int64Source column from the original resource.242000
d_62400int64Source column from the original resource.63400
d_142300int64Source column from the original resource.178600
d_216300int64Source column from the original resource.242700
d_66000int64Source column from the original resource.63600
d_150300int64Source column from the original resource.179100
d_228300int64Source column from the original resource.243200
d_69600int64Source column from the original resource.63800
d_158700int64Source column from the original resource.179400
d_240900int64Source column from the original resource.243400
d_73500int64Source column from the original resource.63800
d_167400int64Source column from the original resource.179600
d_253900int64Source column from the original resource.243500
d_77400int64Source column from the original resource.63800
d_176500int64Source column from the original resource.179700
d_267000int64Source column from the original resource.242900
d_81400int64Source column from the original resource.63700
d_185600int64Source column from the original resource.179200
source_period_start_yearint64Start year inferred from source metadata.2022
source_period_end_yearint64End year inferred from source metadata.2022
source_period_labelstringSource column from the original resource.2022
source_providerstringPublishing organization.Uganda Bureau of Statistics
source_datasetstringSource dataset or package title.Rural Urban Population for the 146 Districts in Uganda
source_resourcestringSource resource title, table name, or file name.Rural Urban Population for the 146 Districts in Uganda
source_package_idstringSource package identifier.rural-urban-population-for-the-146-districts-in-uganda-ubos-stat-d276...
source_resource_idstringSource resource identifier.ubos-stat-d276910bff87b0
source_urlstringOriginal source URL or download URL.https://www.ubos.org/wp-content/uploads/statistics/Rural_Urban_Popula...
license_idstringSource license identifier.other-open
retrieved_atstringUTC source retrieval timestamp from the Electric Sheep Africa pipeline.2026-07-21T21:37:51Z

Usage

python
from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-uganda-rural-urban-population-for-the-146-districts-in-uganda-a98fe25f")
df = ds["train"].to_pandas()
print(df.head())

Inspect Columns

python
print(df.info())
print(df.head())

Filter By Geography

python
if "country_iso3" in df.columns:
    sample = df[df["country_iso3"] == "UGA"]

Time-Series Pattern

python
if "value" in df.columns and "year" in df.columns:
    trend = df.sort_values("year")

Pivot For Analysis

python
if {"indicator_id", "year", "value"}.issubset(df.columns):
    matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
    print(matrix.tail())

Data Quality Notes

  • —Canonical time field: year.
  • —Missing values are preserved rather than silently imputed.
  • —Column names are standardized for machine use; source meanings are preserved where known.
  • —Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.

Source And Provenance

Transformations Applied

  • —Converted the source table to Parquet for efficient analytics and ML workflows.
  • —Added or preserved source provenance columns where available.
  • —Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
  • —Preserved source-reported values without analytical imputation.

Suggested Analyses

  • —Build demographic profiles
  • —Normalize indicators per capita
  • —Join with service-delivery datasets
  • —Build time-series views and period-over-period comparisons
  • —Check missingness before modeling
  • —Use country_iso3 as the safest geography join key when present

Citation

bibtex
@misc{electric_sheep_africa_africa_uganda_rural_urban_population_for_the_146_districts_in_uganda_a98fe25f_2022,
  title        = {Rural Urban Population for the 146 Districts in Uganda | Africa (Uganda Bureau of Statistics)},
  author       = {Uganda Bureau of Statistics},
  year         = {2022},
  url          = {https://www.ubos.org/explore-statistics/0/},
  publisher    = {Hugging Face Datasets, engineered by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-uganda-rural-urban-population-for-the-146-districts-in-uganda-a98fe25f}}
}

License

Released under other-open.

Original data is published by Uganda Bureau of Statistics. Electric Sheep Africa engineering standardizes the data for discovery, loading, and analysis on Hugging Face. Cite both the original source and this ML-ready dataset when used.

About Electric Sheep Africa

Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.


Provenance: README standardized 2026-08-12 by the Electric Sheep Africa README system. Source URL: https://www.ubos.org/explore-statistics/0/