Olaroti commited on
Commit
a6d0141
·
verified ·
1 Parent(s): 1df0ba2

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +134 -38
README.md CHANGED
@@ -1,43 +1,139 @@
1
  ---
2
- license: gpl
3
  language:
4
  - en
5
- tags:
6
- - population
7
- - africa
8
- - biology
9
- - urban
10
- - climate
11
  size_categories:
12
- - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
- # Africa: Urban population (% of total population)
15
-
16
- ## Dataset summary
17
- - This dataset provides values for "Urban population (% of total population)" across African countries, standardized and made ML-ready.
18
- - Geographic scope: 54 African countries.
19
- - Temporal coverage: 1960–2024 (annual).
20
- - Units: As defined by the World Bank indicator.
21
-
22
- ## Source & licensing
23
- - Source: World Bank – World Development Indicators (WDI), Indicator code: `SP.URB.TOTL.IN.ZS`.
24
- - License: World Bank Open Data terms. Users are responsible for compliance with the World Bank Data Terms of Use.
25
-
26
- ## Intended uses
27
- - Cross-country analyses and visualization related to urban development and environmental indicators.
28
- - As an input feature for ML models in development, urbanization, and environmental domains.
29
- - Educational and exploratory data analysis.
30
-
31
- Use with caution for early years and countries with imputed values.
32
-
33
- ## Processing summary
34
- Missing values in the pivot were handled via:
35
- - Linear interpolation along years (`limit_direction="both"`)
36
- - Forward fill
37
- - Backward fill
38
- Countries with no observations across all years remain entirely NaN.
39
-
40
- ## Coverage and data quality notes
41
- - Earliest non-missing observation (across all countries): 1960.
42
- - Countries with no observations (all NaN in pivot):
43
- - (none).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
  language:
4
  - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
 
 
9
  size_categories:
10
+ - n<1K
11
+ tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "climate-environment"
17
+ - "csv"
18
+ - "tabular"
19
+ - "population"
20
+ - "biology"
21
+ - "urban"
22
+ - "climate"
23
+ pretty_name: "Urban population as percentage of total population | Africa (World Bank)"
24
  ---
25
+
26
+ # Urban population as percentage of total population | Africa (World Bank)
27
+
28
+ **Size category:** `n<1K` - **Formats:** `csv` - **Sector:** climate_environment - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
29
+
30
+ ![size](https://img.shields.io/badge/size-n%3C1K-blue)
31
+ ![sector](https://img.shields.io/badge/sector-climate_environment-green)
32
+ ![downloads](https://img.shields.io/badge/HF_downloads-23-orange)
33
+ ![license](https://img.shields.io/badge/license-other-lightgrey)
34
+
35
+ ## TL;DR
36
+
37
+ This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
38
+
39
+ ## What This Dataset Covers
40
+
41
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
42
+
43
+ Dataset context from the existing Hugging Face card: Africa: Urban population (% of total population) Dataset summary This dataset provides values for "Urban population (% of total population)" across African countries, standardized and made ML-ready. Geographic scope: 54 African countries. Temporal coverage: 1960–2024 (annual). Units: As defined by the World Bank indicator. Source & licensing Source: World Bank – World Development Indicators (WDI), Indicator code: SP.URB.TOTL.IN.ZS. License: World Bank Open… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/Urban-population-as-percentage-of-total-population.
44
+
45
+ ## Dataset Profile
46
+
47
+ | Field | Value |
48
+ |---|---|
49
+ | Hugging Face repo | [`electricsheepafrica/Urban-population-as-percentage-of-total-population`](https://huggingface.co/datasets/electricsheepafrica/Urban-population-as-percentage-of-total-population) |
50
+ | Sector | climate_environment |
51
+ | Topic tags | population, biology, urban, climate |
52
+ | Modalities | `tabular` |
53
+ | Formats | `csv` |
54
+ | Size category | `n<1K` |
55
+ | Countries | Africa-wide or source-defined African coverage |
56
+ | ISO3 coverage | `not declared` |
57
+ | Last modified on HF | `2025-08-16 17:34:06+00:00` |
58
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
59
+
60
+ ## How To Read This Dataset
61
+
62
+ - Start from the repository files and the dataset viewer when available.
63
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
64
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
65
+ - Preserve missing values until you have a defensible imputation rule.
66
+
67
+ ## Usage
68
+
69
+ ```python
70
+ from datasets import load_dataset
71
+
72
+ ds = load_dataset("electricsheepafrica/Urban-population-as-percentage-of-total-population")
73
+ print(ds)
74
+
75
+ split_name = next(iter(ds))
76
+ table = ds[split_name]
77
+ print(table.features)
78
+ print(table[:3])
79
+ ```
80
+
81
+ ### Convert To Pandas When Tabular
82
+
83
+ ```python
84
+ from datasets import Dataset
85
+
86
+ first_split = ds[next(iter(ds))]
87
+ if isinstance(first_split, Dataset):
88
+ df = first_split.to_pandas()
89
+ print(df.head())
90
+ ```
91
+
92
+ ## Data Quality Notes
93
+
94
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
95
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
96
+ - Metadata gaps from the inventory: country, upstream_publisher.
97
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
98
+
99
+ ## Source And Provenance
100
+
101
+ - **Source context:** World Bank
102
+ - **Publisher/source attribution:** World Bank open data
103
+ - **License:** gpl
104
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/Urban-population-as-percentage-of-total-population](https://huggingface.co/datasets/electricsheepafrica/Urban-population-as-percentage-of-total-population)
105
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
106
+
107
+ ## Suggested Analyses
108
+
109
+ - Inspect schema and missingness before modeling.
110
+ - Profile variables by geography, time, and subgroup columns where present.
111
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
112
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
113
+
114
+ ## Citation
115
+
116
+ ```bibtex
117
+ @misc{electric_sheep_africa_urban_population_as_percentage_of_total_population_2026,
118
+ title = {Urban population as percentage of total population | Africa (World Bank)},
119
+ author = {World Bank open data},
120
+ year = {2026},
121
+ url = {https://huggingface.co/datasets/electricsheepafrica/Urban-population-as-percentage-of-total-population},
122
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
123
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/Urban-population-as-percentage-of-total-population}}
124
+ }
125
+ ```
126
+
127
+ ## License
128
+
129
+ Released under gpl.
130
+
131
+ Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
132
+
133
+ ## About Electric Sheep Africa
134
+
135
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
136
+
137
+ ---
138
+
139
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.