CoolFace
Datasetpublic

electricsheepafrica/africa-uganda-population-by-sex-for-146-districts-4bfc5269

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

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

Population by Sex for 146 Districts | Africa (Uganda Bureau of Statistics)

146 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 146 rows from Uganda Bureau of Statistics, covering Population by Sex for 146 Districts. 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: Population By Sex For 146 districts - 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
Rows146
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
UGA14620222022Uganda

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-04bae9b571b205:population-by-sex:0
country_iso3stringISO3 country or area code.UGA
country_namestringCountry or area name.Uganda
source_sheetstringSource column from the original resource.Population By Sex
yearint64Observation year.2022
d_1doubleSource column from the original resource.2.0
abimstringSource column from the original resource.ADJUMANI
d_55200int64Source column from the original resource.108800
d_58200int64Source column from the original resource.117700
d_113400int64Source column from the original resource.226500
d_58900int64Source column from the original resource.109700
d_61800int64Source column from the original resource.118900
d_120700int64Source column from the original resource.228600
d_62700int64Source column from the original resource.110500
d_65500int64Source column from the original resource.120000
d_128200int64Source column from the original resource.230500
d_66700int64Source column from the original resource.111200
d_69500int64Source column from the original resource.121200
d_136200int64Source column from the original resource.232400
d_71000int64Source column from the original resource.112000
d_73600int64Source column from the original resource.122300
d_144600int64Source column from the original resource.234300
d_75500int64Source column from the original resource.112600
d_78000int64Source column from the original resource.123300
d_153500int64Source column from the original resource.235900
d_80300int64Source column from the original resource.113200
d_82600int64Source column from the original resource.124200
d_162900int64Source column from the original resource.237400
d_85300int64Source column from the original resource.113700
d_87300int64Source column from the original resource.125100
d_172600int64Source column from the original resource.238800
d_90500int64Source column from the original resource.114100
d_92300int64Source column from the original resource.125900
d_182800int64Source column from the original resource.240000
d_96000int64Source column from the original resource.114500
d_97600int64Source column from the original resource.126700
d_193600int64Source column from the original resource.241200
d_101700int64Source column from the original resource.114700
d_103000int64Source column from the original resource.127300
d_204700int64Source column from the original resource.242000
d_107600int64Source column from the original resource.114800
d_108700int64Source column from the original resource.127900
d_216300int64Source column from the original resource.242700
d_113800int64Source column from the original resource.114900
d_114500int64Source column from the original resource.128300
d_228300int64Source column from the original resource.243200
d_120300int64Source column from the original resource.114800
d_120600int64Source column from the original resource.128600
d_240900int64Source column from the original resource.243400
d_127000int64Source column from the original resource.114600
d_126900int64Source column from the original resource.128900
d_253900int64Source column from the original resource.243500
d_133800int64Source column from the original resource.114200
d_133200int64Source column from the original resource.128700
d_267000int64Source column from the original resource.242900
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.Population By Sex For 146 districts
source_resourcestringSource resource title, table name, or file name.Population By Sex For 146 districts
source_package_idstringSource package identifier.population-by-sex-for-146-districts-ubos-stat-04bae9b571b205
source_resource_idstringSource resource identifier.ubos-stat-04bae9b571b205
source_urlstringOriginal source URL or download URL.https://www.ubos.org/wp-content/uploads/statistics/Population_By_Sex_...
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-population-by-sex-for-146-districts-4bfc5269")
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_population_by_sex_for_146_districts_4bfc5269_2022,
  title        = {Population by Sex for 146 Districts | 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-population-by-sex-for-146-districts-4bfc5269}}
}

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/