CoolFace
Datasetpublic

electricsheepafrica/africa-rwanda-recent-migration-matrix-by-province-2022-ad4930ba

Recent migration matrix by Province (2022) | Africa (Rwanda Data Sharing Platform - NISR) 7 rows - 1 Africa country/area - 2022-08-01-2022-08-31 - source table - Engineered by Electric Sheep Africa TL;DR This dataset contains 7 rows from Rwanda Data Sharing Platform - NISR, covering Recent migration matrix by Province (2022). 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-rwanda-recent-migration-matrix-by-province-2022-ad4930ba.

sourceHugging Facecc-by-4.0updated 2mo agoView on Hugging Face
1likes18downloads
Dataset Card

Recent migration matrix by Province (2022) | Africa (Rwanda Data Sharing Platform - NISR)

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

rows countries period indicators license

TL;DR

This dataset contains 7 rows from Rwanda Data Sharing Platform - NISR, covering Recent migration matrix by Province (2022). 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: Summary: This aggregated data table contains the recent migration matrix by Province. This data was collected in the 5th Rwanda Population and Housing Census (PHC5) in August 2022. Geographic Coverage: National coverage (Rwanda), with disaggregation up to Province and District level. Time Period: The 5th Rwanda Population and Housing Census was conducted in August 2022. Frequency: The Rwanda Population and Housing Census is conducted every 10 years. Population/Units: Household members Key Variables: Province of origin, Province of residence (Destination), In-migrants, Out-migrants Purpose: Measuring progress in Rwanda's development calls for the availability of economic, demographic and social statistical data necessary to compile developmental indicators at different levels and points in time. This census thus comes to serve that purpose.

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: not detected.
  • —Time coverage basis: source metadata period.
  • —Recommended join keys: country_iso3 where available plus source-specific keys.

Coverage

DimensionValue
Rows7
Countries/areas1
First period2022-08-01
Last period2022-08-31
Indicators0
Columns19
Source formatCSV

Geographic Coverage

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

AreaRowsFirst yearLast yearName
RWA72022-08-012022-08-31Rwanda

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.5949cee0-b26b-4ea5-bc50-8d49898e693c:0
country_iso3stringISO3 country or area code.RWA
country_namestringCountry or area name.Rwanda
idint64Row ID1
province_of_originstringProvince of originCity of Kigali
province_of_residence_destination_city_of_kigaliint64Province of residence (Destination): City of Kigali146452
province_of_residence_destination_southint64Province of residence (Destination): South47402
province_of_residence_destination_westint64Province of residence (Destination): West13832
province_of_residence_destination_northint64Province of residence (Destination): North25716
province_of_residence_destination_eastint64Province of residence (Destination): East93663
out_migrantsdoubleOut-migrants180613.0
source_providerstringPublishing organization.NISR
source_datasetstringSource dataset or package title.Recent migration matrix by Province (2022)
source_resourcestringSource resource title, table name, or file name.phc5_2022_main_indicators_table31
source_package_idstringSource package identifier.5949cee0-b26b-4ea5-bc50-8d49898e693c
source_resource_idstringSource resource identifier.5949cee0-b26b-4ea5-bc50-8d49898e693c
source_urlstringOriginal source URL or download URL.https://api.data.gov.rw/api/v1/datasets/public/5949cee0-b26b-4ea5-bc5...
license_idstringSource license identifier.cc-by-4.0
retrieved_atstringUTC source retrieval timestamp from the Electric Sheep Africa pipeline.2026-07-18T11:48:51Z

Usage

python
from datasets import load_dataset

ds = load_dataset("electricsheepafrica/africa-rwanda-recent-migration-matrix-by-province-2022-ad4930ba")
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"] == "RWA"]

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

  • —No canonical year/date column was detected in the packaged table; use source metadata and domain context for temporal interpretation.
  • —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
  • —Check missingness before modeling
  • —Use country_iso3 as the safest geography join key when present

Citation

bibtex
@misc{electric_sheep_africa_africa_rwanda_recent_migration_matrix_by_province_2022_ad4930ba_2022,
  title        = {Recent migration matrix by Province (2022) | Africa (Rwanda Data Sharing Platform - NISR)},
  author       = {NISR},
  year         = {2022},
  url          = {https://api.data.gov.rw/api/v1/datasets/public/5949cee0-b26b-4ea5-bc50-8d49898e693c},
  publisher    = {Hugging Face Datasets, engineered by Electric Sheep Africa},
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-rwanda-recent-migration-matrix-by-province-2022-ad4930ba}}
}

License

Released under CC BY 4.0.

Original data is published by NISR. 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://api.data.gov.rw/api/v1/datasets/public/5949cee0-b26b-4ea5-bc50-8d49898e693c