Olaroti commited on
Commit
fcdfa5c
·
verified ·
1 Parent(s): f753974

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +107 -108
README.md CHANGED
@@ -1,150 +1,149 @@
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
- - 10K<n<100K
13
- source_datasets:
14
- - original
15
  task_categories:
16
  - tabular-classification
17
- task_ids: []
 
 
 
18
  tags:
19
- - africa
20
- - humanitarian
21
- - hdx
22
- - electric-sheep-africa
23
- - agriculture-livestock
24
- - aid-effectiveness
25
- - climate-weather
26
- - development
27
- - economics
28
- - education
29
- - energy
30
- - environment
31
- - com
32
- pretty_name: "Comoros - Economic, Social, Environmental, Health, Education, Development and Energy"
33
- dataset_info:
34
- splits:
35
- - name: train
36
- num_examples: 36072
37
- - name: test
38
- num_examples: 9018
 
 
39
  ---
40
 
41
- # Comoros - Economic, Social, Environmental, Health, Education, Development and Energy
42
 
43
- **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-combined-indicators-for-comoros) · **License:** `cc-by` · **Updated:** 2026-03-27
44
 
45
- ---
 
 
 
46
 
47
- ## Abstract
48
 
49
- Contains data from the World Bank's [data portal](http://data.worldbank.org/) covering the following topics which also exist as individual datasets on HDX: [Agriculture and Rural Development](https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-comoros), [Aid Effectiveness](https://data.humdata.org/dataset/world-bank-aid-effectiveness-indicators-for-comoros), [Economy and Growth](https://data.humdata.org/dataset/world-bank-economy-and-growth-indicators-for-comoros), [Education](https://data.humdata.org/dataset/world-bank-education-indicators-for-comoros), [Energy and Mining](https://data.humdata.org/dataset/world-bank-energy-and-mining-indicators-for-comoros), [Environment](https://data.humdata.org/dataset/world-bank-environment-indicators-for-comoros), [Financial Sector](https://data.humdata.org/dataset/world-bank-financial-sector-indicators-for-comoros), [Health](https://data.humdata.org/dataset/world-bank-health-indicators-for-comoros), [Infrastructure](https://data.humdata.org/dataset/world-bank-infrastructure-indicators-for-comoros), [Social Protection and Labor](https://data.humdata.org/dataset/world-bank-social-protection-and-labor-indicators-for-comoros), [Poverty](https://data.humdata.org/dataset/world-bank-poverty-indicators-for-comoros), [Private Sector](https://data.humdata.org/dataset/world-bank-private-sector-indicators-for-comoros), [Public Sector](https://data.humdata.org/dataset/world-bank-public-sector-indicators-for-comoros), [Science and Technology](https://data.humdata.org/dataset/world-bank-science-and-technology-indicators-for-comoros), [Social Development](https://data.humdata.org/dataset/world-bank-social-development-indicators-for-comoros), [Urban Development](https://data.humdata.org/dataset/world-bank-urban-development-indicators-for-comoros), [Gender](https://data.humdata.org/dataset/world-bank-gender-indicators-for-comoros), [Millenium development goals](https://data.humdata.org/dataset/world-bank-millenium-development-goals-indicators-for-comoros), [Climate Change](https://data.humdata.org/dataset/world-bank-climate-change-indicators-for-comoros), [External Debt](https://data.humdata.org/dataset/world-bank-external-debt-indicators-for-comoros), [Trade](https://data.humdata.org/dataset/world-bank-trade-indicators-for-comoros).
50
 
51
- Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **COM**.
52
 
53
- *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
54
 
55
- ---
56
 
57
- ## Dataset Characteristics
58
 
59
- | | |
60
  |---|---|
61
- | **Domain** | Public health |
62
- | **Unit of observation** | Country-level aggregates |
63
- | **Rows (total)** | 45,091 |
64
- | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
65
- | **Train split** | 36,072 rows |
66
- | **Test split** | 9,018 rows |
67
- | **Geographic scope** | COM |
68
- | **Publisher** | World Bank Group |
69
- | **HDX last updated** | 2026-03-27 |
70
-
71
- ---
72
-
73
- ## Variables
74
-
75
- **Geographic** — `country_name` (Comoros), `country_iso3` (COM), `year` (range 1960.0–2025.0).
76
-
77
- **Outcome / Measurement** — `value` (range -160795370300.0–815725592100.0).
78
-
79
- **Identifier / Metadata** — `indicator_name` (Domestic credit to private sector (% of GDP), Net migration, Urban population (% of total population)), `indicator_code` (SM.POP.NETM, SP.POP.6569.FE.5Y, SP.POP.1014.MA.5Y), `esa_source` (HDX), `esa_processed` (2026-04-16).
80
-
81
- ---
82
-
83
- ## Quick Start
84
 
85
  ```python
86
  from datasets import load_dataset
87
 
88
- ds = load_dataset("electricsheepafrica/africa-world-bank-combined-indicators-for-comoros")
89
- train = ds["train"].to_pandas()
90
- test = ds["test"].to_pandas()
91
 
92
- print(train.shape)
93
- train.head()
 
 
94
  ```
95
 
96
- ---
97
-
98
- ## Schema
99
-
100
- | Column | Type | Null % | Range / Sample Values |
101
- |---|---|---|---|
102
- | `country_name` | object | 0.0% | Comoros |
103
- | `country_iso3` | object | 0.0% | COM |
104
- | `year` | int64 | 0.0% | 1960.0 – 2025.0 (mean 2001.5584) |
105
- | `indicator_name` | object | 0.0% | Domestic credit to private sector (% of GDP), Net migration, Urban population (% of total population) |
106
- | `indicator_code` | object | 0.0% | SM.POP.NETM, SP.POP.6569.FE.5Y, SP.POP.1014.MA.5Y |
107
- | `value` | float64 | 0.0% | -160795370300.0 – 815725592100.0 (mean 5274215051.3313) |
108
- | `esa_source` | object | 0.0% | HDX |
109
- | `esa_processed` | object | 0.0% | 2026-04-16 |
110
-
111
- ---
112
-
113
- ## Numeric Summary
114
 
115
- | Column | Min | Max | Mean | Median |
116
- |---|---|---|---|---|
117
- | `year` | 1960.0 | 2025.0 | 2001.5584 | 2004.0 |
118
- | `value` | -160795370300.0 | 815725592100.0 | 5274215051.3313 | 52.3503 |
119
 
120
- ---
 
 
 
 
121
 
122
- ## Curation
123
 
124
- 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`. 14,058 exact duplicate rows were removed. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
 
 
 
125
 
126
- ---
127
 
128
- ## Limitations
 
 
 
 
129
 
130
- - Data originates from World Bank Group and has not been independently validated by ESA.
131
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
132
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/world-bank-combined-indicators-for-comoros) for the publisher's own methodology notes and caveats.
133
 
134
- ---
 
 
 
135
 
136
  ## Citation
137
 
138
  ```bibtex
139
- @dataset{hdx_africa_world_bank_combined_indicators_for_comoros,
140
- title = {Comoros - Economic, Social, Environmental, Health, Education, Development and Energy},
141
- author = {World Bank Group},
142
- year = {2026},
143
- url = {https://data.humdata.org/dataset/world-bank-combined-indicators-for-comoros},
144
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
145
  }
146
  ```
147
 
 
 
 
 
 
 
 
 
 
 
148
  ---
149
 
150
- *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
 
1
  ---
2
+ license: cc-by-4.0
 
 
 
3
  language:
4
  - en
 
 
 
 
 
 
 
5
  task_categories:
6
  - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 10K<n<100K
11
  tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "climate-environment"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "humanitarian"
21
+ - "hdx"
22
+ - "agriculture-livestock"
23
+ - "aid-effectiveness"
24
+ - "climate-weather"
25
+ - "development"
26
+ - "economics"
27
+ - "education"
28
+ - "energy"
29
+ - "environment"
30
+ - "com"
31
+ - "climate"
32
+ - "weather"
33
+ pretty_name: "Comoros - Economic, Social, Environmental, Health, Education, Development and Energy | Africa (original)"
34
  ---
35
 
36
+ # Comoros - Economic, Social, Environmental, Health, Education, Development and Energy | Africa (original)
37
 
38
+ **Size category:** `10K<n<100K` - **Formats:** `parquet` - **Sector:** climate_environment - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
39
 
40
+ ![size](https://img.shields.io/badge/size-10K%3Cn%3C100K-blue)
41
+ ![sector](https://img.shields.io/badge/sector-climate_environment-green)
42
+ ![downloads](https://img.shields.io/badge/HF_downloads-29-orange)
43
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
44
 
45
+ ## TL;DR
46
 
47
+ 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.
48
 
49
+ ## What This Dataset Covers
50
 
51
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
52
 
53
+ Dataset context from the existing Hugging Face card: Comoros - Economic, Social, Environmental, Health, Education, Development and Energy Publisher: World Bank Group · Source: HDX · License: cc-by · Updated: 2026-03-27 Abstract Contains data from the World Bank's data portal covering the following topics which also exist as individual datasets on HDX: Agriculture and Rural Development, Aid Effectiveness, Economy and Growth, Education, Energy and Mining, Environment, Financial Sector, Health, Infrastructure, Social… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-combined-indicators-for-comoros.
54
 
55
+ ## Dataset Profile
56
 
57
+ | Field | Value |
58
  |---|---|
59
+ | Hugging Face repo | [`electricsheepafrica/africa-world-bank-combined-indicators-for-comoros`](https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-combined-indicators-for-comoros) |
60
+ | Sector | climate_environment |
61
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, agriculture-livestock, aid-effectiveness, climate-weather, development, economics, education, energy, environment, com |
62
+ | Modalities | `tabular`, `text` |
63
+ | Formats | `parquet` |
64
+ | Size category | `10K<n<100K` |
65
+ | Countries | Comoros |
66
+ | ISO3 coverage | `COM` |
67
+ | Last modified on HF | `2026-04-16 22:49:54+00:00` |
68
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
69
+
70
+ ## How To Read This Dataset
71
+
72
+ - Start from the repository files and the dataset viewer when available.
73
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
74
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
75
+ - Preserve missing values until you have a defensible imputation rule.
76
+
77
+ ## Usage
 
 
 
 
78
 
79
  ```python
80
  from datasets import load_dataset
81
 
82
+ ds = load_dataset("electricsheepafrica/africa-world-bank-combined-indicators-for-comoros")
83
+ print(ds)
 
84
 
85
+ split_name = next(iter(ds))
86
+ table = ds[split_name]
87
+ print(table.features)
88
+ print(table[:3])
89
  ```
90
 
91
+ ### Convert To Pandas When Tabular
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
+ ```python
94
+ from datasets import Dataset
 
 
95
 
96
+ first_split = ds[next(iter(ds))]
97
+ if isinstance(first_split, Dataset):
98
+ df = first_split.to_pandas()
99
+ print(df.head())
100
+ ```
101
 
102
+ ## Data Quality Notes
103
 
104
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
105
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
106
+ - Metadata gaps from the inventory: upstream_publisher.
107
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
108
 
109
+ ## Source And Provenance
110
 
111
+ - **Source context:** original
112
+ - **Publisher/source attribution:** original
113
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
114
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-combined-indicators-for-comoros](https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-combined-indicators-for-comoros)
115
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
116
 
117
+ ## Suggested Analyses
 
 
118
 
119
+ - Inspect schema and missingness before modeling.
120
+ - Profile variables by geography, time, and subgroup columns where present.
121
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
122
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
123
 
124
  ## Citation
125
 
126
  ```bibtex
127
+ @misc{electric_sheep_africa_africa_world_bank_combined_indicators_for_comoros_2026,
128
+ title = {Comoros - Economic, Social, Environmental, Health, Education, Development and Energy | Africa (original)},
129
+ author = {original},
130
+ year = {2026},
131
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-combined-indicators-for-comoros},
132
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
133
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-combined-indicators-for-comoros}}
134
  }
135
  ```
136
 
137
+ ## License
138
+
139
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
140
+
141
+ 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.
142
+
143
+ ## About Electric Sheep Africa
144
+
145
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
146
+
147
  ---
148
 
149
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.