Olaroti commited on
Commit
5bc38c0
·
verified ·
1 Parent(s): b8d1679

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +97 -154
README.md CHANGED
@@ -1,197 +1,140 @@
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
  - tabular-classification
17
  - tabular-regression
18
- task_ids: []
 
 
19
  tags:
20
- - africa
21
- - humanitarian
22
- - hdx
23
- - electric-sheep-africa
24
- - funding
25
- - ner
26
- pretty_name: "Niger - IFRC Appeals"
27
- dataset_info:
28
- splits:
29
- - name: train
30
- num_examples: 25
31
- - name: test
32
- num_examples: 6
33
  ---
34
 
35
- # Niger - IFRC Appeals
36
 
37
- **Publisher:** International Federation of Red Cross and Red Crescent Societies (IFRC) · **Source:** [HDX](https://data.humdata.org/dataset/ifrc-appeals-data-for-niger) · **License:** `cc-by-igo` · **Updated:** 2026-04-10
38
 
39
- ---
 
 
 
40
 
41
- ## Abstract
42
 
43
- The International Federation of Red Cross and Red Crescent Societies (IFRC) is the world’s largest humanitarian network. Our secretariat supports local Red Cross and Red Crescent action in more than 192 countries, bringing together almost 15 million volunteers for the good of humanity.
44
-
45
- We launch Emergency Appeals for big and complex disasters affecting lots of people who will need long-term support to recover. We also support Red Cross and Red Crescent Societies to respond to lots of small and medium-sized disasters worldwide—through our Disaster Response Emergency Fund (DREF) and in other ways.
46
-
47
- There is also a [global dataset](https://data.humdata.org/dataset/global-ifrc-appeals-data).
48
 
49
- Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-04-10. Geographic scope: **NER**.
50
 
51
- *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
52
 
53
- ---
54
 
55
- ## Dataset Characteristics
56
 
57
- | | |
58
  |---|---|
59
- | **Domain** | Humanitarian and development data |
60
- | **Unit of observation** | First-level administrative unit observations |
61
- | **Rows (total)** | 32 |
62
- | **Columns** | 41 (14 numeric, 19 categorical, 0 datetime) |
63
- | **Train split** | 25 rows |
64
- | **Test split** | 6 rows |
65
- | **Geographic scope** | NER |
66
- | **Publisher** | International Federation of Red Cross and Red Crescent Societies (IFRC) |
67
- | **HDX last updated** | 2026-04-10 |
68
-
69
- ---
70
-
71
- ## Variables
72
-
73
- **Geographic** — `dtype_id` (range 1.0–21.0), `dtype_name` (Flood, Epidemic, Population Movement), `dtype_translation_module_original_language` (en), `atype` (range 0.0–3.0), `atype_display` (DREF, Emergency Appeal, Forecast Based Action) and 18 others.
74
-
75
- **Temporal** — `start_date`, `end_date`, `real_data_update`.
76
-
77
- **Outcome / Measurement** — `amount_requested` (range 0.0–4000000.0), `amount_funded` (range 0.0–3000733.73).
78
-
79
- **Identifier / Metadata** — `aid` (range 594.0–19477.0), `name` (Niger - Floods, Niger - Population Movement, Niger - Meningitis), `code` (MDRNE031, MDRNE030, M98ME060), `id` (range 1534.0–4138.0), `esa_source` and 1 others.
80
-
81
- **Other** — `status` (range 0.0–1.0), `sector` (Country cluster for Niger, Cote d'Ivoire, Burkina Faso and Mali), `created_at`, `modified_at`, `event` (range 70.0–7119.0) and 2 others.
82
-
83
- ---
84
-
85
- ## Quick Start
86
 
87
  ```python
88
  from datasets import load_dataset
89
 
90
- ds = load_dataset("electricsheepafrica/africa-ifrc-appeals-data-for-niger")
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
- | `aid` | int64 | 0.0% | 594.0 – 19477.0 (mean 10259.375) |
105
- | `name` | object | 0.0% | Niger - Floods, Niger - Population Movement, Niger - Meningitis |
106
- | `dtype_id` | int64 | 0.0% | 1.0 – 21.0 (mean 8.4375) |
107
- | `dtype_name` | object | 0.0% | Flood, Epidemic, Population Movement |
108
- | `dtype_translation_module_original_language` | object | 0.0% | en |
109
- | `atype` | int64 | 0.0% | 0.0 – 3.0 (mean 0.25) |
110
- | `atype_display` | object | 0.0% | DREF, Emergency Appeal, Forecast Based Action |
111
- | `status` | int64 | 0.0% | 0.0 – 1.0 (mean 0.9375) |
112
- | `status_display` | object | 0.0% | Closed, Active |
113
- | `code` | object | 0.0% | MDRNE031, MDRNE030, M98ME060 |
114
- | `sector` | object | 0.0% | Country cluster for Niger, Cote d'Ivoire, Burkina Faso and Mali |
115
- | `amount_requested` | float64 | 0.0% | 0.0 – 4000000.0 (mean 684005.125) |
116
- | `amount_funded` | float64 | 0.0% | 0.0 – 3000733.73 (mean 472884.8713) |
117
- | `start_date` | datetime64[ns, UTC] | 0.0% | |
118
- | `end_date` | datetime64[ns, UTC] | 0.0% | |
119
- | `real_data_update` | datetime64[ns, UTC] | 0.0% | |
120
- | `created_at` | datetime64[ns, UTC] | 0.0% | |
121
- | `modified_at` | datetime64[ns, UTC] | 0.0% | |
122
- | `event` | float64 | 6.2% | 70.0 – 7119.0 (mean 1607.9) |
123
- | `needs_confirmation` | bool | 0.0% | |
124
- | `country_iso` | object | 0.0% | NE |
125
- | `country_iso3` | object | 0.0% | NER |
126
- | `country_id` | int64 | 0.0% | 127.0 – 127.0 (mean 127.0) |
127
- | `country_record_type` | int64 | 0.0% | 1.0 – 1.0 (mean 1.0) |
128
- | `country_record_type_display` | object | 0.0% | Country |
129
- | `country_region` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
130
- | `country_independent` | bool | 0.0% | |
131
- | `country_is_deprecated` | bool | 0.0% | |
132
- | `country_fdrs` | object | 0.0% | |
133
- | `country_name` | object | 0.0% | |
134
- | `country_society_name` | object | 0.0% | |
135
- | `country_translation_module_original_language` | object | 0.0% | |
136
- | `region_name` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
137
- | `region_id` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
138
- | `region_region_name` | object | 0.0% | |
139
- | `region_label` | object | 0.0% | |
140
- | `region_translation_module_original_language` | object | 0.0% | |
141
- | `id` | int64 | 0.0% | 1534.0 – 4138.0 (mean 2734.125) |
142
- | `initial_num_beneficiaries` | int64 | 0.0% | 0.0 – 3960000.0 (mean 286903.625) |
143
- | `esa_source` | object | 0.0% | |
144
- | `esa_processed` | object | 0.0% | |
145
 
146
- ---
147
-
148
- ## Numeric Summary
149
-
150
- | Column | Min | Max | Mean | Median |
151
- |---|---|---|---|---|
152
- | `aid` | 594.0 | 19477.0 | 10259.375 | 8937.5 |
153
- | `dtype_id` | 1.0 | 21.0 | 8.4375 | 12.0 |
154
- | `atype` | 0.0 | 3.0 | 0.25 | 0.0 |
155
- | `status` | 0.0 | 1.0 | 0.9375 | 1.0 |
156
- | `amount_requested` | 0.0 | 4000000.0 | 684005.125 | 249750.5 |
157
- | `amount_funded` | 0.0 | 3000733.73 | 472884.8713 | 249750.5 |
158
- | `event` | 70.0 | 7119.0 | 1607.9 | 770.5 |
159
- | `country_id` | 127.0 | 127.0 | 127.0 | 127.0 |
160
- | `country_record_type` | 1.0 | 1.0 | 1.0 | 1.0 |
161
- | `country_region` | 0.0 | 0.0 | 0.0 | 0.0 |
162
- | `region_name` | 0.0 | 0.0 | 0.0 | 0.0 |
163
- | `region_id` | 0.0 | 0.0 | 0.0 | 0.0 |
164
- | `id` | 1534.0 | 4138.0 | 2734.125 | 2767.0 |
165
- | `initial_num_beneficiaries` | 0.0 | 3960000.0 | 286903.625 | 21000.0 |
166
 
167
- ---
 
 
 
 
168
 
169
- ## Curation
170
 
171
- 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`. 2 column(s) with >80% missing values were removed: `dtype_summary`, `country_average_household_size`. 5 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.
 
 
 
172
 
173
- ---
174
 
175
- ## Limitations
 
 
 
 
176
 
177
- - Data originates from International Federation of Red Cross and Red Crescent Societies (IFRC) and has not been independently validated by ESA.
178
- - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
179
- - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/ifrc-appeals-data-for-niger) for the publisher's own methodology notes and caveats.
180
 
181
- ---
 
 
 
182
 
183
  ## Citation
184
 
185
  ```bibtex
186
- @dataset{hdx_africa_ifrc_appeals_data_for_niger,
187
- title = {Niger - IFRC Appeals},
188
- author = {International Federation of Red Cross and Red Crescent Societies (IFRC)},
189
- year = {2026},
190
- url = {https://data.humdata.org/dataset/ifrc-appeals-data-for-niger},
191
- note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
 
192
  }
193
  ```
194
 
 
 
 
 
 
 
 
 
 
 
195
  ---
196
 
197
- *[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
+ - n<1K
11
  tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "humanitarian-development"
17
+ - "parquet"
18
+ - "tabular"
19
+ - "text"
20
+ - "humanitarian"
21
+ - "hdx"
22
+ - "funding"
23
+ - "ner"
24
+ pretty_name: "Niger - IFRC Appeals | Africa (original)"
25
  ---
26
 
27
+ # Niger - IFRC Appeals | Africa (original)
28
 
29
+ **Size category:** `n<1K` - **Formats:** `parquet` - **Sector:** humanitarian_development - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
30
 
31
+ ![size](https://img.shields.io/badge/size-n%3C1K-blue)
32
+ ![sector](https://img.shields.io/badge/sector-humanitarian_development-green)
33
+ ![downloads](https://img.shields.io/badge/HF_downloads-14-orange)
34
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
35
 
36
+ ## TL;DR
37
 
38
+ 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.
 
 
 
 
39
 
40
+ ## What This Dataset Covers
41
 
42
+ Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
43
 
44
+ Dataset context from the existing Hugging Face card: Niger - IFRC Appeals Publisher: International Federation of Red Cross and Red Crescent Societies (IFRC) · Source: HDX · License: cc-by-igo · Updated: 2026-04-10 Abstract The International Federation of Red Cross and Red Crescent Societies (IFRC) is the world’s largest humanitarian network. Our secretariat supports local Red Cross and Red Crescent action in more than 192 countries, bringing together almost 15 million volunteers for the good of humanity. We launch… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-ifrc-appeals-data-for-niger.
45
 
46
+ ## Dataset Profile
47
 
48
+ | Field | Value |
49
  |---|---|
50
+ | Hugging Face repo | [`electricsheepafrica/africa-ifrc-appeals-data-for-niger`](https://huggingface.co/datasets/electricsheepafrica/africa-ifrc-appeals-data-for-niger) |
51
+ | Sector | humanitarian_development |
52
+ | Topic tags | humanitarian, hdx, electric-sheep-africa, funding, ner |
53
+ | Modalities | `tabular`, `text` |
54
+ | Formats | `parquet` |
55
+ | Size category | `n<1K` |
56
+ | Countries | Niger |
57
+ | ISO3 coverage | `NER` |
58
+ | Last modified on HF | `2026-04-12 07:43:25+00:00` |
59
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
60
+
61
+ ## How To Read This Dataset
62
+
63
+ - Start from the repository files and the dataset viewer when available.
64
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
65
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
66
+ - Preserve missing values until you have a defensible imputation rule.
67
+
68
+ ## Usage
 
 
 
 
 
 
 
 
69
 
70
  ```python
71
  from datasets import load_dataset
72
 
73
+ ds = load_dataset("electricsheepafrica/africa-ifrc-appeals-data-for-niger")
74
+ print(ds)
 
75
 
76
+ split_name = next(iter(ds))
77
+ table = ds[split_name]
78
+ print(table.features)
79
+ print(table[:3])
80
  ```
81
 
82
+ ### Convert To Pandas When Tabular
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
+ ```python
85
+ from datasets import Dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
+ first_split = ds[next(iter(ds))]
88
+ if isinstance(first_split, Dataset):
89
+ df = first_split.to_pandas()
90
+ print(df.head())
91
+ ```
92
 
93
+ ## Data Quality Notes
94
 
95
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
96
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
97
+ - Metadata gaps from the inventory: upstream_publisher.
98
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
99
 
100
+ ## Source And Provenance
101
 
102
+ - **Source context:** original
103
+ - **Publisher/source attribution:** original
104
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
105
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-ifrc-appeals-data-for-niger](https://huggingface.co/datasets/electricsheepafrica/africa-ifrc-appeals-data-for-niger)
106
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
107
 
108
+ ## Suggested Analyses
 
 
109
 
110
+ - Inspect schema and missingness before modeling.
111
+ - Profile variables by geography, time, and subgroup columns where present.
112
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
113
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
114
 
115
  ## Citation
116
 
117
  ```bibtex
118
+ @misc{electric_sheep_africa_africa_ifrc_appeals_data_for_niger_2026,
119
+ title = {Niger - IFRC Appeals | Africa (original)},
120
+ author = {original},
121
+ year = {2026},
122
+ url = {https://huggingface.co/datasets/electricsheepafrica/africa-ifrc-appeals-data-for-niger},
123
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
124
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-ifrc-appeals-data-for-niger}}
125
  }
126
  ```
127
 
128
+ ## License
129
+
130
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
131
+
132
+ 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.
133
+
134
+ ## About Electric Sheep Africa
135
+
136
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
137
+
138
  ---
139
 
140
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.