Standardize Electric Sheep Africa dataset card
Browse files
README.md
CHANGED
|
@@ -1,158 +1,145 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
| 18 |
tags:
|
| 19 |
-
- africa
|
| 20 |
-
-
|
| 21 |
-
-
|
| 22 |
-
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
-
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
-
|
| 36 |
-
|
| 37 |
-
# Benin - Internal Displacements (New Displacements) – IDPs
|
| 38 |
-
|
| 39 |
-
**Publisher:** Internal Displacement Monitoring Centre (IDMC) · **Source:** [HDX](https://data.humdata.org/dataset/idmc-idp-data-ben) · **License:** `cc-by-igo` · **Updated:** 2026-03-18
|
| 40 |
-
|
| 41 |
---
|
| 42 |
|
| 43 |
-
#
|
| 44 |
|
| 45 |
-
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
|
|
|
|
| 50 |
|
| 51 |
-
|
| 52 |
|
|
|
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
---
|
| 61 |
-
|
| 62 |
-
## Dataset Characteristics
|
| 63 |
-
|
| 64 |
-
| | |
|
| 65 |
|---|---|
|
| 66 |
-
|
|
| 67 |
-
|
|
| 68 |
-
|
|
| 69 |
-
|
|
| 70 |
-
|
|
| 71 |
-
|
|
| 72 |
-
|
|
| 73 |
-
|
|
| 74 |
-
|
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
## Quick Start
|
| 87 |
|
| 88 |
```python
|
| 89 |
from datasets import load_dataset
|
| 90 |
|
| 91 |
-
ds
|
| 92 |
-
|
| 93 |
-
test = ds["test"].to_pandas()
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
|
|
|
|
|
|
| 97 |
```
|
| 98 |
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
## Schema
|
| 102 |
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
| `iso3` | object | 0.0% | BEN |
|
| 106 |
-
| `country_name` | object | 0.0% | Benin |
|
| 107 |
-
| `year` | int64 | 0.0% | 2018.0 – 2024.0 (mean 2021.0) |
|
| 108 |
-
| `new_displacement` | float64 | 57.1% | 1231.0 – 6502.0 (mean 3742.3333) |
|
| 109 |
-
| `new_displacement_rounded` | float64 | 57.1% | 1200.0 – 6500.0 (mean 3733.3333) |
|
| 110 |
-
| `total_displacement` | int64 | 0.0% | 1231.0 – 12501.0 (mean 5100.0) |
|
| 111 |
-
| `total_displacement_rounded` | int64 | 0.0% | 1200.0 – 13000.0 (mean 5171.4286) |
|
| 112 |
-
| `esa_source` | object | 0.0% | HDX |
|
| 113 |
-
| `esa_processed` | object | 0.0% | 2026-04-06 |
|
| 114 |
-
|
| 115 |
-
---
|
| 116 |
-
|
| 117 |
-
## Numeric Summary
|
| 118 |
-
|
| 119 |
-
| Column | Min | Max | Mean | Median |
|
| 120 |
-
|---|---|---|---|---|
|
| 121 |
-
| `year` | 2018.0 | 2024.0 | 2021.0 | 2021.0 |
|
| 122 |
-
| `new_displacement` | 1231.0 | 6502.0 | 3742.3333 | 3494.0 |
|
| 123 |
-
| `new_displacement_rounded` | 1200.0 | 6500.0 | 3733.3333 | 3500.0 |
|
| 124 |
-
| `total_displacement` | 1231.0 | 12501.0 | 5100.0 | 3494.0 |
|
| 125 |
-
| `total_displacement_rounded` | 1200.0 | 13000.0 | 5171.4286 | 3500.0 |
|
| 126 |
|
| 127 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
| 129 |
-
##
|
| 130 |
|
| 131 |
-
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
-
|
| 134 |
|
| 135 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
-
|
| 138 |
-
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 139 |
-
- The following columns have >20% missing values and should be treated with caution in modelling: `new_displacement`, `new_displacement_rounded`.
|
| 140 |
-
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/idmc-idp-data-ben) for the publisher's own methodology notes and caveats.
|
| 141 |
|
| 142 |
-
-
|
|
|
|
|
|
|
|
|
|
| 143 |
|
| 144 |
## Citation
|
| 145 |
|
| 146 |
```bibtex
|
| 147 |
-
@
|
| 148 |
-
title
|
| 149 |
-
author
|
| 150 |
-
year
|
| 151 |
-
url
|
| 152 |
-
|
|
|
|
| 153 |
}
|
| 154 |
```
|
| 155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
---
|
| 157 |
|
| 158 |
-
|
|
|
|
| 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 |
+
- "governance-security"
|
| 17 |
+
- "parquet"
|
| 18 |
+
- "tabular"
|
| 19 |
+
- "text"
|
| 20 |
+
- "humanitarian"
|
| 21 |
+
- "hdx"
|
| 22 |
+
- "conflict-violence"
|
| 23 |
+
- "displacement"
|
| 24 |
+
- "internally-displaced-persons-idp"
|
| 25 |
+
- "natural-disasters"
|
| 26 |
+
- "ben"
|
| 27 |
+
- "conflict"
|
| 28 |
+
- "violence"
|
| 29 |
+
pretty_name: "Benin - Internal Displacements (New Displacements) – IDPs | Africa (original)"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
---
|
| 31 |
|
| 32 |
+
# Benin - Internal Displacements (New Displacements) – IDPs | Africa (original)
|
| 33 |
|
| 34 |
+
**Size category:** `n<1K` - **Formats:** `parquet` - **Sector:** governance_security - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
|
| 35 |
|
| 36 |
+

|
| 37 |
+

|
| 38 |
+

|
| 39 |
+

|
| 40 |
|
| 41 |
+
## TL;DR
|
| 42 |
|
| 43 |
+
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.
|
| 44 |
|
| 45 |
+
## What This Dataset Covers
|
| 46 |
|
| 47 |
+
Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
|
| 48 |
|
| 49 |
+
Dataset context from the existing Hugging Face card: Benin - Internal Displacements (New Displacements) – IDPs Publisher: Internal Displacement Monitoring Centre (IDMC) · Source: HDX · License: cc-by-igo · Updated: 2026-03-18 Abstract The Global Internal Displacement Database (GIDD), maintained by the Internal Displacement Monitoring Centre (IDMC), provides comprehensive, validated annual estimates of internal displacement worldwide. It defines internally displaced persons (IDPs) in line with the 1998 Guiding Principles… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-idmc-idp-data-ben.
|
| 50 |
|
| 51 |
+
## Dataset Profile
|
| 52 |
|
| 53 |
+
| Field | Value |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|---|---|
|
| 55 |
+
| Hugging Face repo | [`electricsheepafrica/africa-idmc-idp-data-ben`](https://huggingface.co/datasets/electricsheepafrica/africa-idmc-idp-data-ben) |
|
| 56 |
+
| Sector | governance_security |
|
| 57 |
+
| Topic tags | humanitarian, hdx, electric-sheep-africa, conflict-violence, displacement, internally-displaced-persons-idp, natural-disasters, ben |
|
| 58 |
+
| Modalities | `tabular`, `text` |
|
| 59 |
+
| Formats | `parquet` |
|
| 60 |
+
| Size category | `n<1K` |
|
| 61 |
+
| Countries | Benin |
|
| 62 |
+
| ISO3 coverage | `BEN` |
|
| 63 |
+
| Last modified on HF | `2026-04-06 07:20:45+00:00` |
|
| 64 |
+
| Inventory snapshot | `2026-07-16T16:00:34Z` |
|
| 65 |
+
|
| 66 |
+
## How To Read This Dataset
|
| 67 |
+
|
| 68 |
+
- Start from the repository files and the dataset viewer when available.
|
| 69 |
+
- Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
|
| 70 |
+
- Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
|
| 71 |
+
- Preserve missing values until you have a defensible imputation rule.
|
| 72 |
+
|
| 73 |
+
## Usage
|
|
|
|
|
|
|
| 74 |
|
| 75 |
```python
|
| 76 |
from datasets import load_dataset
|
| 77 |
|
| 78 |
+
ds = load_dataset("electricsheepafrica/africa-idmc-idp-data-ben")
|
| 79 |
+
print(ds)
|
|
|
|
| 80 |
|
| 81 |
+
split_name = next(iter(ds))
|
| 82 |
+
table = ds[split_name]
|
| 83 |
+
print(table.features)
|
| 84 |
+
print(table[:3])
|
| 85 |
```
|
| 86 |
|
| 87 |
+
### Convert To Pandas When Tabular
|
|
|
|
|
|
|
| 88 |
|
| 89 |
+
```python
|
| 90 |
+
from datasets import Dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
+
first_split = ds[next(iter(ds))]
|
| 93 |
+
if isinstance(first_split, Dataset):
|
| 94 |
+
df = first_split.to_pandas()
|
| 95 |
+
print(df.head())
|
| 96 |
+
```
|
| 97 |
|
| 98 |
+
## Data Quality Notes
|
| 99 |
|
| 100 |
+
- This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
|
| 101 |
+
- Exact schema, row counts, and source files should be inspected in the repository data files.
|
| 102 |
+
- Metadata gaps from the inventory: upstream_publisher.
|
| 103 |
+
- Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
|
| 104 |
|
| 105 |
+
## Source And Provenance
|
| 106 |
|
| 107 |
+
- **Source context:** original
|
| 108 |
+
- **Publisher/source attribution:** original
|
| 109 |
+
- **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 110 |
+
- **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/africa-idmc-idp-data-ben](https://huggingface.co/datasets/electricsheepafrica/africa-idmc-idp-data-ben)
|
| 111 |
+
- **Inventory retrieved at:** `2026-07-16T16:00:34Z`
|
| 112 |
|
| 113 |
+
## Suggested Analyses
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
+
- Inspect schema and missingness before modeling.
|
| 116 |
+
- Profile variables by geography, time, and subgroup columns where present.
|
| 117 |
+
- Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
|
| 118 |
+
- Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
|
| 119 |
|
| 120 |
## Citation
|
| 121 |
|
| 122 |
```bibtex
|
| 123 |
+
@misc{electric_sheep_africa_africa_idmc_idp_data_ben_2026,
|
| 124 |
+
title = {Benin - Internal Displacements (New Displacements) – IDPs | Africa (original)},
|
| 125 |
+
author = {original},
|
| 126 |
+
year = {2026},
|
| 127 |
+
url = {https://huggingface.co/datasets/electricsheepafrica/africa-idmc-idp-data-ben},
|
| 128 |
+
publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
|
| 129 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-idmc-idp-data-ben}}
|
| 130 |
}
|
| 131 |
```
|
| 132 |
|
| 133 |
+
## License
|
| 134 |
+
|
| 135 |
+
Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
| 136 |
+
|
| 137 |
+
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.
|
| 138 |
+
|
| 139 |
+
## About Electric Sheep Africa
|
| 140 |
+
|
| 141 |
+
Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
|
| 142 |
+
|
| 143 |
---
|
| 144 |
|
| 145 |
+
Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.
|