Olaroti commited on
Commit
f64abd0
·
verified ·
1 Parent(s): 474fd33

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +98 -104
README.md CHANGED
@@ -1,147 +1,141 @@
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
- - environment
25
- - indicators
26
- - dji
27
- pretty_name: "Djibouti - Environment"
28
- dataset_info:
29
- splits:
30
- - name: train
31
- num_examples: 3434
32
- - name: test
33
- num_examples: 858
34
  ---
35
 
36
- # Djibouti - Environment
37
-
38
- **Publisher:** World Bank Group · **Source:** [HDX](https://data.humdata.org/dataset/world-bank-environment-indicators-for-djibouti) · **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-djibouti) on HDX.
45
 
46
- Natural and man-made environmental resources – fresh water, clean air, forests, grasslands, marine resources, and agro-ecosystems – provide sustenance and a foundation for social and economic development. The need to safeguard these resources crosses all borders. Today, the World Bank is one of the key promoters and financiers of environmental upgrading in the developing world. Data here cover forests, biodiversity, emissions, and pollution. Other indicators relevant to the environment are found under data pages for Agriculture & Rural Development, Energy & Mining, Infrastructure, and Urban Development.
47
 
48
- Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: **DJI**.
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** | Water, sanitation and hygiene (wash) |
59
- | **Unit of observation** | Country-level aggregates |
60
- | **Rows (total)** | 4,293 |
61
- | **Columns** | 8 (2 numeric, 6 categorical, 0 datetime) |
62
- | **Train split** | 3,434 rows |
63
- | **Test split** | 858 rows |
64
- | **Geographic scope** | DJI |
65
- | **Publisher** | World Bank Group |
66
- | **HDX last updated** | 2026-03-27 |
67
-
68
- ---
69
-
70
- ## Variables
71
-
72
- **Geographic** `country_name` (Djibouti), `country_iso3` (DJI), `year` (range 1960.0–2024.0).
73
-
74
- **Outcome / Measurement** `value` (range -35.6623–494373099.8761).
75
-
76
- **Identifier / Metadata** — `indicator_name` (Aquaculture production (metric tons), Capture fisheries production (metric tons), Total fisheries production (metric tons)), `indicator_code` (ER.FSH.AQUA.MT, ER.FSH.CAPT.MT, ER.FSH.PROD.MT), `esa_source` (HDX), `esa_processed` (2026-04-14).
77
-
78
- ---
79
-
80
- ## Quick Start
81
 
82
  ```python
83
  from datasets import load_dataset
84
 
85
- ds = load_dataset("electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti")
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% | Djibouti |
100
- | `country_iso3` | object | 0.0% | DJI |
101
- | `year` | int64 | 0.0% | 1960.0 – 2024.0 (mean 2001.4037) |
102
- | `indicator_name` | object | 0.0% | Aquaculture production (metric tons), Capture fisheries production (metric tons), Total fisheries production (metric tons) |
103
- | `indicator_code` | object | 0.0% | ER.FSH.AQUA.MT, ER.FSH.CAPT.MT, ER.FSH.PROD.MT |
104
- | `value` | float64 | 0.0% | -35.6623 – 494373099.8761 (mean 3719192.8817) |
105
- | `esa_source` | object | 0.0% | HDX |
106
- | `esa_processed` | object | 0.0% | 2026-04-14 |
107
-
108
- ---
109
-
110
- ## Numeric Summary
111
-
112
- | Column | Min | Max | Mean | Median |
113
- |---|---|---|---|---|
114
- | `year` | 1960.0 | 2024.0 | 2001.4037 | 2004.0 |
115
- | `value` | -35.6623 | 494373099.8761 | 3719192.8817 | 0.5705 |
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-environment-indicators-for-djibouti) for the publisher's own methodology notes and caveats.
130
 
131
- ---
 
 
 
132
 
133
  ## Citation
134
 
135
  ```bibtex
136
- @dataset{hdx_africa_world_bank_environment_indicators_for_djibouti,
137
- title = {Djibouti - Environment},
138
- author = {World Bank Group},
139
- year = {2026},
140
- url = {https://data.humdata.org/dataset/world-bank-environment-indicators-for-djibouti},
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.*
 
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
+ - 1K<n<10K
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
+ - "environment"
23
+ - "indicators"
24
+ - "dji"
25
+ pretty_name: "Djibouti - Environment | Africa (original)"
26
  ---
27
 
28
+ # Djibouti - Environment | Africa (original)
 
 
29
 
30
+ **Size category:** `1K<n<10K` - **Formats:** `parquet` - **Sector:** climate_environment - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
31
 
32
+ ![size](https://img.shields.io/badge/size-1K%3Cn%3C10K-blue)
33
+ ![sector](https://img.shields.io/badge/sector-climate_environment-green)
34
+ ![downloads](https://img.shields.io/badge/HF_downloads-8-orange)
35
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
36
 
37
+ ## TL;DR
38
 
39
+ 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.
40
 
41
+ ## What This Dataset Covers
42
 
43
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
44
 
45
+ Dataset context from the existing Hugging Face card: Djibouti - Environment Publisher: World Bank Group · Source: HDX · License: cc-by · Updated: 2026-03-27 Abstract Contains data from the World Bank's data portal. There is also a consolidated country dataset on HDX. Natural and man-made environmental resources – fresh water, clean air, forests, grasslands, marine resources, and agro-ecosystems – provide sustenance and a foundation for social and economic development. The need to safeguard these resources crosses all… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti.
46
 
47
+ ## Dataset Profile
48
 
49
+ | Field | Value |
50
  |---|---|
51
+ | Hugging Face repo | [`electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti`](https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti) |
52
+ | Sector | climate_environment |
53
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, environment, indicators, dji |
54
+ | Modalities | `tabular`, `text` |
55
+ | Formats | `parquet` |
56
+ | Size category | `1K<n<10K` |
57
+ | Countries | Djibouti |
58
+ | ISO3 coverage | `DJI` |
59
+ | Last modified on HF | `2026-04-14 13:19:03+00:00` |
60
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
61
+
62
+ ## How To Read This Dataset
63
+
64
+ - Start from the repository files and the dataset viewer when available.
65
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
66
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
67
+ - Preserve missing values until you have a defensible imputation rule.
68
+
69
+ ## Usage
 
 
 
 
70
 
71
  ```python
72
  from datasets import load_dataset
73
 
74
+ ds = load_dataset("electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti")
75
+ print(ds)
 
76
 
77
+ split_name = next(iter(ds))
78
+ table = ds[split_name]
79
+ print(table.features)
80
+ print(table[:3])
81
  ```
82
 
83
+ ### Convert To Pandas When Tabular
 
 
84
 
85
+ ```python
86
+ from datasets import Dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
 
88
+ first_split = ds[next(iter(ds))]
89
+ if isinstance(first_split, Dataset):
90
+ df = first_split.to_pandas()
91
+ print(df.head())
92
+ ```
93
 
94
+ ## Data Quality Notes
95
 
96
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
97
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
98
+ - Metadata gaps from the inventory: upstream_publisher.
99
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
100
 
101
+ ## Source And Provenance
102
 
103
+ - **Source context:** original
104
+ - **Publisher/source attribution:** original
105
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
106
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti](https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti)
107
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
108
 
109
+ ## Suggested Analyses
 
 
110
 
111
+ - Inspect schema and missingness before modeling.
112
+ - Profile variables by geography, time, and subgroup columns where present.
113
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
114
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
115
 
116
  ## Citation
117
 
118
  ```bibtex
119
+ @misc{electric_sheep_africa_africa_world_bank_environment_indicators_for_djibouti_2026,
120
+ title = {Djibouti - Environment | Africa (original)},
121
+ author = {original},
122
+ year = {2026},
123
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti},
124
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
125
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-world-bank-environment-indicators-for-djibouti}}
126
  }
127
  ```
128
 
129
+ ## License
130
+
131
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
132
+
133
+ 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.
134
+
135
+ ## About Electric Sheep Africa
136
+
137
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
138
+
139
  ---
140
 
141
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.