Olaroti commited on
Commit
910f883
·
verified ·
1 Parent(s): cad29aa

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +135 -70
README.md CHANGED
@@ -5,86 +5,109 @@ language:
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
- multilinguality: monolingual
9
  size_categories:
10
  - 1K<n<10K
11
  tags:
12
- - tabular
13
- - csv
14
- - africa
15
- - chad
16
- - official-statistics
17
- - open-data
 
 
 
 
 
 
 
 
18
  configs:
19
  - config_name: default
20
  data_files:
21
  - split: train
22
  path: data/train-00000-of-00001.parquet
23
- pretty_name: "LitPop: Humanitarian Response Plan (HRP) Countries Exposure Data for Disaster Risk Assessment | Africa (Chad official open data)"
24
  ---
25
 
26
- # LitPop: Humanitarian Response Plan (HRP) Countries Exposure Data for Disaster Risk Assessment | Africa (Chad official open data)
27
 
28
- 1,313 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
 
30
  ![rows](https://img.shields.io/badge/rows-1313-blue)
31
  ![countries](https://img.shields.io/badge/countries-1-green)
32
- ![years](https://img.shields.io/badge/years-not-applicable-orange)
33
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
34
- ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
35
 
36
  ## TL;DR
37
 
38
- This dataset packages one official `CSV` resource from **Chad** as
39
- ML-ready Parquet. The source file is the provenance boundary; all usable
40
- indicators or tabular columns from the resource stay together in this repo.
41
 
42
- ## About the source
43
 
44
- - **Source:** [LitPop: Humanitarian Response Plan (HRP) Countries Exposure Data for Disaster Risk Assessment](https://data.humdata.org/dataset/climada-litpop-dataset)
45
- - **Publisher:** ETH Zürich - Weather and Climate Risks
46
- - **Resource:** [haiti-admin1-litpop.csv](https://data.humdata.org/dataset/3527869c-8fe9-4289-9d57-1811e789bf60/resource/2d3c933d-1fa0-4689-b383-83c519dc2852/download/haiti-admin1-litpop.csv)
47
- - **Format:** `CSV`
48
- - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
- - **Packaging mode:** `tabular_resource`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
- ## Geographic coverage
52
 
53
- 1 Africa country:
54
 
55
- | Country | Rows | First year | Last year | Name |
56
- |---------|-----:|-----------:|----------:|------|
57
- | `TCD` | 1,313 | n/a | n/a | `Chad` |
58
 
59
- ## Indicators or Resource Contents
60
 
61
- - This source file is packaged as a normalized tabular resource.
62
 
63
  ## Schema
64
 
65
  | Column | Type | Description | Example |
66
  |--------|------|-------------|---------|
67
- | `source_record_id` | `string` | Stable row identifier for tabular resources. | `2d3c933d-1fa0-4689-b383-83c519dc2852:0` |
68
- | `country_iso3` | `category` | ISO3 country code. | `TCD` |
69
- | `country_name` | `category` | Country name. | `Chad` |
70
- | `country_name_2` | `string` | Source column. | `#country` |
71
- | `admin1_name` | `string` | Source column. | `#adm1+name` |
72
- | `latitude` | `float64` | Source column. | `` |
73
- | `longitude` | `float64` | Source column. | `` |
74
- | `aggregation` | `string` | Source column. | `` |
75
- | `indicator` | `string` | Source column. | `#indicator+name` |
76
- | `value` | `float64` | Numeric observation value. | `` |
77
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `` |
78
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `` |
79
- | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `` |
80
- | `source_provider` | `category` | Publishing organization. | `ETH Zürich - Weather and Climate Risks` |
81
- | `source_dataset` | `category` | Source package title. | `LitPop: Humanitarian Response Plan (HRP) Countries Exposure Data for Dis` |
82
- | `source_resource` | `category` | Source resource title. | `haiti-admin1-litpop.csv` |
83
- | `source_package_id` | `category` | CKAN package UUID. | `3527869c-8fe9-4289-9d57-1811e789bf60` |
84
- | `source_resource_id` | `category` | CKAN resource UUID. | `2d3c933d-1fa0-4689-b383-83c519dc2852` |
85
- | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/3527869c-8fe9-4289-9d57-1811e789bf60/re` |
86
- | `license_id` | `category` | Source license identifier. | `cc-by` |
87
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-10T22:51:43Z` |
88
 
89
  ## Usage
90
 
@@ -96,29 +119,77 @@ df = ds["train"].to_pandas()
96
  print(df.head())
97
  ```
98
 
99
- ### Filter to one country
100
 
101
  ```python
102
- sample_country = df[df["country_iso3"] == "TCD"]
 
103
  ```
104
 
105
- ### Work with indicators
106
 
107
  ```python
108
- if "indicator_id" in df.columns:
109
- print(df["indicator_id"].value_counts().head())
110
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
111
  ```
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  ## Citation
114
 
115
  ```bibtex
116
  @misc{electric_sheep_africa_africa_chad_litpop_humanitarian_response_plan_hrp_countries_exposure_d_16639944_2026,
117
- title = {LitPop: Humanitarian Response Plan (HRP) Countries Exposure Data for Disaster Risk Assessment | Africa (Chad official open data)},
118
  author = {ETH Zürich - Weather and Climate Risks},
119
  year = {2026},
120
  url = {https://data.humdata.org/dataset/climada-litpop-dataset},
121
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
122
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-chad-litpop-humanitarian-response-plan-hrp-countries-exposure-d-16639944}}
123
  }
124
  ```
@@ -127,20 +198,14 @@ if "indicator_id" in df.columns:
127
 
128
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
129
 
130
- Original data (c) ETH Zürich - Weather and Climate Risks. When using this dataset, please cite both the
131
- original source above and the Electric Sheep Africa repackaging.
132
-
133
- ## About Electric Sheep
134
 
135
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
136
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
137
- open sources, normalize the schemas, package as Parquet, and publish with
138
- consistent dataset cards so researchers and developers can use `load_dataset()`
139
- to start working in seconds.
140
 
141
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
142
 
143
  ---
144
 
145
- Provenance: ingested 2026-08-11 via the Electric Sheep pipeline. Source URL:
146
- https://data.humdata.org/dataset/3527869c-8fe9-4289-9d57-1811e789bf60/resource/2d3c933d-1fa0-4689-b383-83c519dc2852/download/haiti-admin1-litpop.csv
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
+ multilinguality: multilingual
9
  size_categories:
10
  - 1K<n<10K
11
  tags:
12
+ - "tabular"
13
+ - "africa"
14
+ - "open-data"
15
+ - "official-statistics"
16
+ - "chad"
17
+ - "eth-zurich-weather-and-climate-risks"
18
+ - "afg"
19
+ - "bfa"
20
+ - "bdi"
21
+ - "cmr"
22
+ - "caf"
23
+ - "tcd"
24
+ - "col"
25
+ - "cod"
26
  configs:
27
  - config_name: default
28
  data_files:
29
  - split: train
30
  path: data/train-00000-of-00001.parquet
31
+ pretty_name: "Litpop Humanitarian Response Plan Hrp Countries Exposure D | Africa (ETH Zürich - Weather and Climate Risks)"
32
  ---
33
 
34
+ # Litpop Humanitarian Response Plan Hrp Countries Exposure D | Africa (ETH Zürich - Weather and Climate Risks)
35
 
36
+ **1,313 rows** - **1 Africa country/area** - **detected** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
37
 
38
  ![rows](https://img.shields.io/badge/rows-1313-blue)
39
  ![countries](https://img.shields.io/badge/countries-1-green)
40
+ ![period](https://img.shields.io/badge/period-detected-orange)
41
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
42
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
43
 
44
  ## TL;DR
45
 
46
+ This dataset contains **1,313 rows** from **ETH Zürich - Weather and Climate Risks**, covering **Litpop Humanitarian Response Plan Hrp Countries Exposure D**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
47
 
48
+ ## What This Dataset Measures
49
 
50
+ Official statistics datasets help analysts inspect public data as published by governments, national statistical systems, and regional data portals.
51
+
52
+ Source-provided context: Gridded LitPop data for Haiti with admin1 name column
53
+
54
+ ## How To Read This Dataset
55
+
56
+ - **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
57
+ - **Primary geography column:** `country_iso3`.
58
+ - **Best time column:** `source_period_start_year`.
59
+ - **Time coverage basis:** source_period_start_year.
60
+ - **Recommended join keys:** `country_iso3` where available plus source-specific keys.
61
+
62
+ ## Coverage
63
+
64
+ | Dimension | Value |
65
+ |---|---:|
66
+ | Rows | 1,313 |
67
+ | Countries/areas | 1 |
68
+ | First period | detected |
69
+ | Last period | detected |
70
+ | Indicators | 0 |
71
+ | Columns | 21 |
72
+ | Source format | CSV |
73
 
74
+ ## Geographic Coverage
75
 
76
+ Top areas shown below, sorted by row count when available:
77
 
78
+ | Area | Rows | First year | Last year | Name |
79
+ |------|-----:|-----------:|----------:|------|
80
+ | `TCD` | 1,313 | detected | detected | `Chad` |
81
 
82
+ ## Indicators, Variables, Or Resource Contents
83
 
84
+ - This repo preserves one source tabular resource with its usable columns kept together.
85
 
86
  ## Schema
87
 
88
  | Column | Type | Description | Example |
89
  |--------|------|-------------|---------|
90
+ | `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `2d3c933d-1fa0-4689-b383-83c519dc2852:0` |
91
+ | `country_iso3` | `dictionary<values=string, indices=int8, ordered=0>` | ISO3 country or area code. | `TCD` |
92
+ | `country_name` | `dictionary<values=string, indices=int8, ordered=0>` | Country or area name. | `Chad` |
93
+ | `country_name_2` | `string` | Source column from the original resource. | `#country` |
94
+ | `admin1_name` | `string` | Source column from the original resource. | `#adm1+name` |
95
+ | `latitude` | `double` | Source column from the original resource. | `` |
96
+ | `longitude` | `double` | Source column from the original resource. | `` |
97
+ | `aggregation` | `string` | Source column from the original resource. | `` |
98
+ | `indicator` | `string` | Source column from the original resource. | `#indicator+name` |
99
+ | `value` | `double` | Numeric observation value. | `` |
100
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `` |
101
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `` |
102
+ | `source_period_label` | `string` | Source column from the original resource. | `` |
103
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `ETH Zürich - Weather and Climate Risks` |
104
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `LitPop: Humanitarian Response Plan (HRP) Countries Exposure Data for ...` |
105
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `haiti-admin1-litpop.csv` |
106
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `3527869c-8fe9-4289-9d57-1811e789bf60` |
107
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `2d3c933d-1fa0-4689-b383-83c519dc2852` |
108
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.humdata.org/dataset/3527869c-8fe9-4289-9d57-1811e789bf60...` |
109
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `cc-by` |
110
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-10T22:51:43Z` |
111
 
112
  ## Usage
113
 
 
119
  print(df.head())
120
  ```
121
 
122
+ ### Inspect Columns
123
 
124
  ```python
125
+ print(df.info())
126
+ print(df.head())
127
  ```
128
 
129
+ ### Filter By Geography
130
 
131
  ```python
132
+ if "country_iso3" in df.columns:
133
+ sample = df[df["country_iso3"] == "TCD"]
 
134
  ```
135
 
136
+ ### Time-Series Pattern
137
+
138
+ ```python
139
+ if "value" in df.columns and "source_period_start_year" in df.columns:
140
+ trend = df.sort_values("source_period_start_year")
141
+ ```
142
+
143
+ ### Pivot For Analysis
144
+
145
+ ```python
146
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
147
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
148
+ print(matrix.tail())
149
+ ```
150
+
151
+ ## Data Quality Notes
152
+
153
+ - Canonical time field: `source_period_start_year`.
154
+ - Missing values are preserved rather than silently imputed.
155
+ - Column names are standardized for machine use; source meanings are preserved where known.
156
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
157
+
158
+ ## Source And Provenance
159
+
160
+ - **Source:** [ETH Zürich - Weather and Climate Risks](https://data.humdata.org/dataset/climada-litpop-dataset)
161
+ - **Publisher:** ETH Zürich - Weather and Climate Risks
162
+ - **Portal:** [https://data.humdata.org](https://data.humdata.org)
163
+ - **Resource:** [haiti-admin1-litpop.csv](https://data.humdata.org/dataset/3527869c-8fe9-4289-9d57-1811e789bf60/resource/2d3c933d-1fa0-4689-b383-83c519dc2852/download/haiti-admin1-litpop.csv)
164
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
165
+ - **Retrieved/generated:** `2026-08-11T00:10:36Z`
166
+ - **Hugging Face repo:** [electricsheepafrica/africa-chad-litpop-humanitarian-response-plan-hrp-countries-exposure-d-16639944](https://huggingface.co/datasets/electricsheepafrica/africa-chad-litpop-humanitarian-response-plan-hrp-countries-exposure-d-16639944)
167
+
168
+ ## Transformations Applied
169
+
170
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
171
+ - Added or preserved source provenance columns where available.
172
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
173
+ - Preserved source-reported values without analytical imputation.
174
+
175
+ ## Suggested Analyses
176
+
177
+ - Profile the distribution of values
178
+ - Compare categories or geographies
179
+ - Join with complementary public datasets
180
+ - Build time-series views and period-over-period comparisons
181
+ - Check missingness before modeling
182
+ - Use `country_iso3` as the safest geography join key when present
183
+
184
  ## Citation
185
 
186
  ```bibtex
187
  @misc{electric_sheep_africa_africa_chad_litpop_humanitarian_response_plan_hrp_countries_exposure_d_16639944_2026,
188
+ title = {Litpop Humanitarian Response Plan Hrp Countries Exposure D | Africa (ETH Zürich - Weather and Climate Risks)},
189
  author = {ETH Zürich - Weather and Climate Risks},
190
  year = {2026},
191
  url = {https://data.humdata.org/dataset/climada-litpop-dataset},
192
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
193
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-chad-litpop-humanitarian-response-plan-hrp-countries-exposure-d-16639944}}
194
  }
195
  ```
 
198
 
199
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
200
 
201
+ Original data is published by ETH Zürich - Weather and Climate Risks. Electric Sheep Africa
202
+ engineering standardizes the data for discovery, loading, and analysis on
203
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
204
 
205
+ ## About Electric Sheep Africa
 
 
 
 
206
 
207
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
208
 
209
  ---
210
 
211
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.humdata.org/dataset/climada-litpop-dataset