Add README.md
Browse files
README.md
CHANGED
|
@@ -1,103 +1,147 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
-
-
|
| 5 |
-
-
|
| 6 |
-
-
|
|
|
|
| 7 |
- gender
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
-
|
| 11 |
-
size_categories:
|
| 12 |
-
- 10K<n<100K
|
| 13 |
dataset_info:
|
| 14 |
-
features:
|
| 15 |
-
- name: country_name
|
| 16 |
-
dtype: string
|
| 17 |
-
- name: country_iso3
|
| 18 |
-
dtype: string
|
| 19 |
-
- name: year
|
| 20 |
-
dtype: int64
|
| 21 |
-
- name: indicator_name
|
| 22 |
-
dtype: string
|
| 23 |
-
- name: indicator_code
|
| 24 |
-
dtype: string
|
| 25 |
-
- name: value
|
| 26 |
-
dtype: float64
|
| 27 |
-
- name: esa_source
|
| 28 |
-
dtype: string
|
| 29 |
-
- name: esa_processed
|
| 30 |
-
dtype: string
|
| 31 |
splits:
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
num_bytes: 140070
|
| 37 |
-
num_examples: 1051
|
| 38 |
-
download_size: 104277
|
| 39 |
-
dataset_size: 699281
|
| 40 |
-
configs:
|
| 41 |
-
- config_name: default
|
| 42 |
-
data_files:
|
| 43 |
-
- split: train
|
| 44 |
-
path: data/train-*
|
| 45 |
-
- split: test
|
| 46 |
-
path: data/test-*
|
| 47 |
---
|
| 48 |
-
# Africa Unmet Need for Contraception Dataset
|
| 49 |
|
| 50 |
-
#
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
-
|
| 54 |
-
- Geographic scope: 54 African countries (ISO‑3 list consistent across this repo)
|
| 55 |
-
- Temporal coverage in files: 1960–2024 (years present; observations begin much later for most countries)
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
- License: Creative Commons Attribution 4.0 International (CC-BY-4.0)
|
| 61 |
|
| 62 |
---
|
| 63 |
|
| 64 |
-
##
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
---
|
| 72 |
|
| 73 |
-
##
|
| 74 |
|
| 75 |
-
|
|
|
|
| 76 |
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
- Countries with earliest original observation ≥ 2015: Angola, Somalia
|
| 82 |
-
- Countries with no observations (entirely NaN across all years): Djibouti, Seychelles
|
| 83 |
-
- Earlier years are imputed via backward fill for any country with at least one observation; treat imputed values with caution.
|
| 84 |
|
| 85 |
---
|
| 86 |
|
| 87 |
-
##
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
-
|
| 91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
---
|
| 94 |
|
| 95 |
## Citation
|
| 96 |
-
> World Bank. *Unmet need for contraception (% of married women ages 15–49)* (`SP.UWT.TFRT`).
|
| 97 |
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
---
|
| 101 |
|
| 102 |
-
|
| 103 |
-
Questions or issues: `kossisoroyce@gmail.com`.
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1K<n<10K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-classification
|
| 17 |
+
- tabular-regression
|
| 18 |
+
task_ids: []
|
| 19 |
tags:
|
| 20 |
+
- africa
|
| 21 |
+
- humanitarian
|
| 22 |
+
- hdx
|
| 23 |
+
- electric-sheep-africa
|
| 24 |
- gender
|
| 25 |
+
- indicators
|
| 26 |
+
- mar
|
| 27 |
+
pretty_name: "Morocco - Gender"
|
|
|
|
|
|
|
| 28 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
splits:
|
| 30 |
+
- name: train
|
| 31 |
+
num_examples: 4200
|
| 32 |
+
- name: test
|
| 33 |
+
num_examples: 1050
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
---
|
|
|
|
| 35 |
|
| 36 |
+
# Morocco - Gender
|
| 37 |
+
|
| 38 |
+
**Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-gender-indicators-for-morocco) · **License:** `cc-by` · **Updated:** 2026-03-27
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## Abstract
|
| 43 |
+
|
| 44 |
+
Contains data from the World Bank's [data portal](http://data.worldbank.org/). There is also a [consolidated country dataset](https://data.humdata.org/dataset/world-bank-combined-indicators-for-morocco) on HDX.
|
| 45 |
|
| 46 |
+
Gender equality is a core development objective in its own right. It is also smart development policy and sound business practice. It is integral to economic growth, business growth and good development outcomes. Gender equality can boost productivity, enhance prospects for the next generation, build resilience, and make institutions more representative and effective. In December 2015, the World Bank Group Board discussed our new Gender Equality Strategy 2016-2023, which aims to address persistent gaps and proposed a sharpened focus on more and better gender data. The Bank Group is continually scaling up commitments and expanding partnerships to fill significant gaps in gender data. The database hosts the latest sex-disaggregated data and gender statistics covering demography, education, health, access to economic opportunities, public life and decision-making, and agency.
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **MAR**.
|
| 49 |
+
|
| 50 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
|
|
|
| 51 |
|
| 52 |
---
|
| 53 |
|
| 54 |
+
## Dataset Characteristics
|
| 55 |
+
|
| 56 |
+
| | |
|
| 57 |
+
|---|---|
|
| 58 |
+
| **Domain** | Public health |
|
| 59 |
+
| **Unit of observation** | Country-level aggregates |
|
| 60 |
+
| **Rows (total)** | 5,251 |
|
| 61 |
+
| **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
|
| 62 |
+
| **Train split** | 4,200 rows |
|
| 63 |
+
| **Test split** | 1,050 rows |
|
| 64 |
+
| **Geographic scope** | MAR |
|
| 65 |
+
| **Publisher** | World Bank Group |
|
| 66 |
+
| **HDX last updated** | 2026-03-27 |
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## Variables
|
| 71 |
+
|
| 72 |
+
**Geographic** — `country_name` (Morocco), `country_iso3` (MAR), `year` (range 1960.0–2025.0).
|
| 73 |
+
|
| 74 |
+
**Outcome / Measurement** — `value` (range 0.0–3034679.0).
|
| 75 |
|
| 76 |
+
**Identifier / Metadata** — `indicator_name` (Age population, age 00, female, Age population, age 00, male, Age population, age 02, female), `indicator_code` (SP.POP.AG00.FE.IN, SP.POP.AG00.MA.IN, SP.POP.AG02.FE.IN), `esa_source` (HDX), `esa_processed` (2026-04-27).
|
| 77 |
|
| 78 |
---
|
| 79 |
|
| 80 |
+
## Quick Start
|
| 81 |
|
| 82 |
+
```python
|
| 83 |
+
from datasets import load_dataset
|
| 84 |
|
| 85 |
+
ds = load_dataset("electricsheepafrica/africa-gender-morocco")
|
| 86 |
+
train = ds["train"].to_pandas()
|
| 87 |
+
test = ds["test"].to_pandas()
|
| 88 |
|
| 89 |
+
print(train.shape)
|
| 90 |
+
train.head()
|
| 91 |
+
```
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
---
|
| 94 |
|
| 95 |
+
## Schema
|
| 96 |
+
|
| 97 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 98 |
+
|---|---|---|---|
|
| 99 |
+
| `country_name` | object | 0.0% | Morocco |
|
| 100 |
+
| `country_iso3` | object | 0.0% | MAR |
|
| 101 |
+
| `year` | int64 | 0.0% | 1960.0 – 2025.0 (mean 1999.1811) |
|
| 102 |
+
| `indicator_name` | object | 0.0% | Age population, age 00, female, Age population, age 00, male, Age population, age 02, female |
|
| 103 |
+
| `indicator_code` | object | 0.0% | SP.POP.AG00.FE.IN, SP.POP.AG00.MA.IN, SP.POP.AG02.FE.IN |
|
| 104 |
+
| `value` | float64 | 0.0% | 0.0 – 3034679.0 (mean 71290.1719) |
|
| 105 |
+
| `esa_source` | object | 0.0% | HDX |
|
| 106 |
+
| `esa_processed` | object | 0.0% | 2026-04-27 |
|
| 107 |
+
|
| 108 |
+
---
|
| 109 |
+
|
| 110 |
+
## Numeric Summary
|
| 111 |
+
|
| 112 |
+
| Column | Min | Max | Mean | Median |
|
| 113 |
+
|---|---|---|---|---|
|
| 114 |
+
| `year` | 1960.0 | 2025.0 | 1999.1811 | 2001.0 |
|
| 115 |
+
| `value` | 0.0 | 3034679.0 | 71290.1719 | 47.0287 |
|
| 116 |
+
|
| 117 |
+
---
|
| 118 |
+
|
| 119 |
+
## Curation
|
| 120 |
+
|
| 121 |
+
Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
|
| 122 |
+
|
| 123 |
+
---
|
| 124 |
+
|
| 125 |
+
## Limitations
|
| 126 |
+
|
| 127 |
+
- Data originates from World Bank Group and has not been independently validated by ESA.
|
| 128 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 129 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-gender-indicators-for-morocco) for the publisher's own methodology notes and caveats.
|
| 130 |
|
| 131 |
---
|
| 132 |
|
| 133 |
## Citation
|
|
|
|
| 134 |
|
| 135 |
+
```bibtex
|
| 136 |
+
@dataset{hdx_africa_gender_morocco,
|
| 137 |
+
title = {Morocco - Gender},
|
| 138 |
+
author = {World Bank Group},
|
| 139 |
+
year = {2026},
|
| 140 |
+
url = {https://data.humdata.org/dataset/world-bank-gender-indicators-for-morocco},
|
| 141 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 142 |
+
}
|
| 143 |
+
```
|
| 144 |
|
| 145 |
---
|
| 146 |
|
| 147 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|
|
|