Kossisoroyce commited on
Commit
5d37835
·
verified ·
1 Parent(s): 4db2f25

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +151 -34
README.md CHANGED
@@ -1,38 +1,155 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: country_name
5
- dtype: string
6
- - name: admin1_name
7
- dtype: string
8
- - name: latitude
9
- dtype: float64
10
- - name: longitude
11
- dtype: float64
12
- - name: aggregation
13
- dtype: string
14
- - name: indicator
15
- dtype: string
16
- - name: value
17
- dtype: float64
18
- - name: esa_source
19
- dtype: string
20
- - name: esa_processed
21
- dtype: string
22
  splits:
23
- - name: train
24
- num_bytes: 24257
25
- num_examples: 264
26
- - name: test
27
- num_bytes: 6060
28
- num_examples: 66
29
- download_size: 19480
30
- dataset_size: 30317
31
- configs:
32
- - config_name: default
33
- data_files:
34
- - split: train
35
- path: data/train-*
36
- - split: test
37
- path: data/test-*
38
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - n<1K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - other
17
+ task_ids: []
18
+ tags:
19
+ - africa
20
+ - humanitarian
21
+ - hdx
22
+ - electric-sheep-africa
23
+ - geodata
24
+ - hazards-and-risk
25
+ - humanitarian-response-plan-hrp
26
+ - hxl
27
+ - afg
28
+ - bgd
29
+ - bfa
30
+ - bdi
31
+ - cmr
32
+ pretty_name: "Earthquakes: Hazard Data for Disaster Risk Assessment (selected countries)"
33
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  splits:
35
+ - name: train
36
+ num_examples: 264
37
+ - name: test
38
+ num_examples: 66
 
 
 
 
 
 
 
 
 
 
 
39
  ---
40
+
41
+ # Earthquakes: Hazard Data for Disaster Risk Assessment (selected countries)
42
+
43
+ **Publisher:** ETH Zürich - Weather and Climate Risks · **Source:** [HDX](https://data.humdata.org/dataset/climada-earthquake-dataset) · **License:** `cc-by` · **Updated:** 2025-04-15
44
+
45
+ ---
46
+
47
+ ## Abstract
48
+
49
+ Earthquake hazard sets at 150 arcsec (ca. 4km) resolution, available for the entire globe and per country. Available as historic records from the USGS epicentres database and as a simple probabilistic sampling starting from the historic earthquake catalog, with 9 synthetic events per historic record. The presented data are maximum intensity on the Modified Mercalli intensity scale (MMI) over the historic record 1904-2017.
50
+
51
+ Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2025-04-15. Geographic scope: **AFG, BGD, BFA, BDI, CMR, CAF, TCD, COL, and 19 others**.
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** | Humanitarian and development data |
62
+ | **Unit of observation** | First-level administrative unit observations |
63
+ | **Rows (total)** | 330 |
64
+ | **Columns** | 9 (3 numeric, 6 categorical, 0 datetime) |
65
+ | **Train split** | 264 rows |
66
+ | **Test split** | 66 rows |
67
+ | **Geographic scope** | AFG, BGD, BFA, BDI, CMR, CAF, TCD, COL, and 19 others |
68
+ | **Publisher** | ETH Zürich - Weather and Climate Risks |
69
+ | **HDX last updated** | 2025-04-15 |
70
+
71
+ ---
72
+
73
+ ## Variables
74
+
75
+ **Geographic** — `country_name` (Afghanistan, Colombia, DR Congo), `admin1_name` (North, Bolívar, Amazonas), `latitude` (range -25.9531–51.3497), `longitude` (range -81.5417–98.758).
76
+
77
+ **Outcome / Measurement** — `value` (range 0.0–10.5).
78
+
79
+ **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-04).
80
+
81
+ **Other** — `aggregation` (max), `indicator` (earthquake, #indicator+name).
82
+
83
+ ---
84
+
85
+ ## Quick Start
86
+
87
+ ```python
88
+ from datasets import load_dataset
89
+
90
+ ds = load_dataset("electricsheepafrica/africa-climada-earthquake-dataset")
91
+ train = ds["train"].to_pandas()
92
+ test = ds["test"].to_pandas()
93
+
94
+ print(train.shape)
95
+ train.head()
96
+ ```
97
+
98
+ ---
99
+
100
+ ## Schema
101
+
102
+ | Column | Type | Null % | Range / Sample Values |
103
+ |---|---|---|---|
104
+ | `country_name` | object | 0.0% | Afghanistan, Colombia, DR Congo |
105
+ | `admin1_name` | object | 0.0% | North, Bolívar, Amazonas |
106
+ | `latitude` | float64 | 0.3% | -25.9531 – 51.3497 (mean 14.2994) |
107
+ | `longitude` | float64 | 0.3% | -81.5417 – 98.758 (mean 16.2111) |
108
+ | `aggregation` | object | 0.3% | max |
109
+ | `indicator` | object | 0.0% | earthquake, #indicator+name |
110
+ | `value` | float64 | 0.3% | 0.0 – 10.5 (mean 5.5933) |
111
+ | `esa_source` | object | 0.0% | HDX |
112
+ | `esa_processed` | object | 0.0% | 2026-04-04 |
113
+
114
+ ---
115
+
116
+ ## Numeric Summary
117
+
118
+ | Column | Min | Max | Mean | Median |
119
+ |---|---|---|---|---|
120
+ | `latitude` | -25.9531 | 51.3497 | 14.2994 | 10.2651 |
121
+ | `longitude` | -81.5417 | 98.758 | 16.2111 | 29.9007 |
122
+ | `value` | 0.0 | 10.5 | 5.5933 | 6.59 |
123
+
124
+ ---
125
+
126
+ ## Curation
127
+
128
+ 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`. 3 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
129
+
130
+ ---
131
+
132
+ ## Limitations
133
+
134
+ - Data originates from ETH Zürich - Weather and Climate Risks and has not been independently validated by ESA.
135
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
136
+ - This dataset spans 27 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
137
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/climada-earthquake-dataset) for the publisher's own methodology notes and caveats.
138
+
139
+ ---
140
+
141
+ ## Citation
142
+
143
+ ```bibtex
144
+ @dataset{hdx_africa_climada_earthquake_dataset,
145
+ title = {Earthquakes: Hazard Data for Disaster Risk Assessment (selected countries)},
146
+ author = {ETH Zürich - Weather and Climate Risks},
147
+ year = {2025},
148
+ url = {https://data.humdata.org/dataset/climada-earthquake-dataset},
149
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
150
+ }
151
+ ```
152
+
153
+ ---
154
+
155
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*