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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-regression
|
| 7 |
+
- time-series-forecasting
|
| 8 |
+
multilinguality: monolingual
|
| 9 |
+
size_categories:
|
| 10 |
+
- 100K<n<1M
|
| 11 |
+
tags:
|
| 12 |
+
- tabular
|
| 13 |
+
- xlsx
|
| 14 |
+
- africa
|
| 15 |
+
- niger
|
| 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: "Protection in Danger Data | Africa (Niger official open data)"
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# Protection in Danger Data | Africa (Niger official open data)
|
| 27 |
+
|
| 28 |
+
106,800 rows - 1 Africa country - 2024-2026 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+

|
| 32 |
+

|
| 33 |
+

|
| 34 |
+

|
| 35 |
+
|
| 36 |
+
## TL;DR
|
| 37 |
+
|
| 38 |
+
This dataset packages one official `XLSX` resource from **Niger** 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:** [Protection in Danger Data](https://data.humdata.org/dataset/sind-protection-in-danger-monthly-news-briefs-dataset)
|
| 45 |
+
- **Publisher:** Insecurity Insight
|
| 46 |
+
- **Resource:** [2020-2026 Protection in Danger Incident Data.xlsx](https://data.humdata.org/dataset/14b1ad1d-abcf-453d-970c-cb964084134e/resource/588cad68-c650-4a68-b27e-f28139bd6693/download/2020-2026-protection-in-danger-incident-data.xlsx)
|
| 47 |
+
- **Format:** `XLSX`
|
| 48 |
+
- **License:** [CC BY-SA](https://creativecommons.org/licenses/by-sa/4.0/)
|
| 49 |
+
- **Packaging mode:** `indicator_long`
|
| 50 |
+
|
| 51 |
+
## Geographic coverage
|
| 52 |
+
|
| 53 |
+
1 Africa country:
|
| 54 |
+
|
| 55 |
+
| Country | Rows | First year | Last year | Name |
|
| 56 |
+
|---------|-----:|-----------:|----------:|------|
|
| 57 |
+
| `NER` | 106,800 | 2024 | 2026 | `Niger` |
|
| 58 |
+
|
| 59 |
+
## Indicators or Resource Contents
|
| 60 |
+
|
| 61 |
+
- `protection-in-danger-data-number-of-attacks-on-camps-reporting-destructi-316916fc` - Protection in Danger Data - number of attacks on camps reporting destruction
|
| 62 |
+
- `protection-in-danger-data-number-of-attacks-on-camps-reporting-damaged-9a4fe23b` - Protection in Danger Data - number of attacks on camps reporting damaged
|
| 63 |
+
- `protection-in-danger-data-camp-resident-killed-3d351066` - Protection in Danger Data - camp resident killed
|
| 64 |
+
- `protection-in-danger-data-camp-resident-injured-c131abc8` - Protection in Danger Data - camp resident injured
|
| 65 |
+
- `protection-in-danger-data-camp-residents-kidnapped-738f5d14` - Protection in Danger Data - camp residents kidnapped
|
| 66 |
+
- `protection-in-danger-data-camp-residents-arrested-320facb1` - Protection in Danger Data - camp residents arrested
|
| 67 |
+
- `protection-in-danger-data-camp-residents-targeted-with-crsv-22088cf2` - Protection in Danger Data - camp residents targeted with crsv
|
| 68 |
+
- `protection-in-danger-data-service-provider-killed-e44a23b6` - Protection in Danger Data - service provider killed
|
| 69 |
+
- `protection-in-danger-data-service-provider-kidnapped-43b5b480` - Protection in Danger Data - service provider kidnapped
|
| 70 |
+
- `protection-in-danger-data-service-provider-arrested-91adff90` - Protection in Danger Data - service provider arrested
|
| 71 |
+
- `protection-in-danger-data-service-provider-targeted-with-crsv-46bc0254` - Protection in Danger Data - service provider targeted with crsv
|
| 72 |
+
- `protection-in-danger-data-sind-id-8a188a49` - Protection in Danger Data - sind id
|
| 73 |
+
|
| 74 |
+
## Schema
|
| 75 |
+
|
| 76 |
+
| Column | Type | Description | Example |
|
| 77 |
+
|--------|------|-------------|---------|
|
| 78 |
+
| `indicator_id` | `string` | Stable indicator identifier. | `protection-in-danger-data-number-of-attacks-on-camps-reporting-destructi` |
|
| 79 |
+
| `indicator_name` | `string` | Human-readable indicator name. | `Protection in Danger Data - number of attacks on camps reporting destruc` |
|
| 80 |
+
| `country_iso3` | `string` | ISO3 country code. | `NER` |
|
| 81 |
+
| `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Sheet1` |
|
| 82 |
+
| `country_name` | `string` | Country name. | `Niger` |
|
| 83 |
+
| `year` | `Int64` | Observation year. | `2026` |
|
| 84 |
+
| `value` | `float64` | Numeric observation value. | `0.0` |
|
| 85 |
+
| `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
|
| 86 |
+
| `dimension_date` | `string` | Source dimension. | `2026-07-20 00:00:00` |
|
| 87 |
+
| `dimension_country` | `string` | Source dimension. | `OPT` |
|
| 88 |
+
| `dimension_country_iso` | `string` | Source dimension. | `PSE` |
|
| 89 |
+
| `dimension_admin_1` | `string` | Source dimension. | `Gaza Strip` |
|
| 90 |
+
| `dimension_geo_precision` | `string` | Source dimension. | `censored` |
|
| 91 |
+
| `dimension_camp_name` | `string` | Source dimension. | `Jabalia Camp` |
|
| 92 |
+
| `dimension_reported_perpetrator` | `string` | Source dimension. | `Host Government: Military` |
|
| 93 |
+
| `dimension_reported_perpetrator_name` | `string` | Source dimension. | `Israeli Defence Forces` |
|
| 94 |
+
| `dimension_weapon_carried_used` | `string` | Source dimension. | `Aerial Bomb: Plane` |
|
| 95 |
+
| `dimension_protection_event_context` | `string` | Source dimension. | `Airstrike/Shelling` |
|
| 96 |
+
| `dimension_victim_of_violence` | `string` | Source dimension. | `` |
|
| 97 |
+
| `dimension_survivor_or_victim_sex` | `string` | Source dimension. | `Multiple` |
|
| 98 |
+
| `dimension_survivor_or_victim_minor` | `string` | Source dimension. | `No Information About Age` |
|
| 99 |
+
| `dimension_date_event_entered` | `string` | Source dimension. | `2026-07-27 00:00:00` |
|
| 100 |
+
| `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2020` |
|
| 101 |
+
| `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2026` |
|
| 102 |
+
| `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2020-2026` |
|
| 103 |
+
| `source_provider` | `category` | Publishing organization. | `Insecurity Insight` |
|
| 104 |
+
| `source_dataset` | `category` | Source package title. | `Protection in Danger Data` |
|
| 105 |
+
| `source_resource` | `category` | Source resource title. | `2020-2026 Protection in Danger Incident Data.xlsx` |
|
| 106 |
+
| `source_package_id` | `category` | CKAN package UUID. | `14b1ad1d-abcf-453d-970c-cb964084134e` |
|
| 107 |
+
| `source_resource_id` | `category` | CKAN resource UUID. | `588cad68-c650-4a68-b27e-f28139bd6693` |
|
| 108 |
+
| `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/14b1ad1d-abcf-453d-970c-cb964084134e/re` |
|
| 109 |
+
| `license_id` | `category` | Source license identifier. | `cc-by-sa` |
|
| 110 |
+
| `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-14T00:35:21Z` |
|
| 111 |
+
|
| 112 |
+
## Usage
|
| 113 |
+
|
| 114 |
+
```python
|
| 115 |
+
from datasets import load_dataset
|
| 116 |
+
|
| 117 |
+
ds = load_dataset("electricsheepafrica/africa-niger-protection-in-danger-data-3c751a6f")
|
| 118 |
+
df = ds["train"].to_pandas()
|
| 119 |
+
print(df.head())
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
### Filter to one country
|
| 123 |
+
|
| 124 |
+
```python
|
| 125 |
+
sample_country = df[df["country_iso3"] == "NER"]
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
### Work with indicators
|
| 129 |
+
|
| 130 |
+
```python
|
| 131 |
+
if "indicator_id" in df.columns:
|
| 132 |
+
print(df["indicator_id"].value_counts().head())
|
| 133 |
+
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
## Citation
|
| 137 |
+
|
| 138 |
+
```bibtex
|
| 139 |
+
@misc{electric_sheep_africa_africa_niger_protection_in_danger_data_3c751a6f_2026,
|
| 140 |
+
title = {Protection in Danger Data | Africa (Niger official open data)},
|
| 141 |
+
author = {Insecurity Insight},
|
| 142 |
+
year = {2026},
|
| 143 |
+
url = {https://data.humdata.org/dataset/sind-protection-in-danger-monthly-news-briefs-dataset},
|
| 144 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 145 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-niger-protection-in-danger-data-3c751a6f}}
|
| 146 |
+
}
|
| 147 |
+
```
|
| 148 |
+
|
| 149 |
+
## License
|
| 150 |
+
|
| 151 |
+
Released under [CC BY-SA](https://creativecommons.org/licenses/by-sa/4.0/).
|
| 152 |
+
|
| 153 |
+
Original data (c) Insecurity Insight. When using this dataset, please cite both the
|
| 154 |
+
original source above and the Electric Sheep Africa repackaging.
|
| 155 |
+
|
| 156 |
+
## About Electric Sheep
|
| 157 |
+
|
| 158 |
+
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
|
| 159 |
+
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 160 |
+
open sources, normalize the schemas, package as Parquet, and publish with
|
| 161 |
+
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 162 |
+
to start working in seconds.
|
| 163 |
+
|
| 164 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 165 |
+
|
| 166 |
+
---
|
| 167 |
+
|
| 168 |
+
Provenance: ingested 2026-08-14 via the Electric Sheep pipeline. Source URL:
|
| 169 |
+
https://data.humdata.org/dataset/14b1ad1d-abcf-453d-970c-cb964084134e/resource/588cad68-c650-4a68-b27e-f28139bd6693/download/2020-2026-protection-in-danger-incident-data.xlsx
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92f1039516080fe4a6c18b6815c89b59770eb7a9ab4db1db7db549c126d98732
|
| 3 |
+
size 172510
|
metadata/source_snapshot.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
"indicator_id",
|
| 4 |
+
"indicator_name",
|
| 5 |
+
"country_iso3",
|
| 6 |
+
"source_sheet",
|
| 7 |
+
"country_name",
|
| 8 |
+
"year",
|
| 9 |
+
"value",
|
| 10 |
+
"unit",
|
| 11 |
+
"dimension_date",
|
| 12 |
+
"dimension_country",
|
| 13 |
+
"dimension_country_iso",
|
| 14 |
+
"dimension_admin_1",
|
| 15 |
+
"dimension_geo_precision",
|
| 16 |
+
"dimension_camp_name",
|
| 17 |
+
"dimension_reported_perpetrator",
|
| 18 |
+
"dimension_reported_perpetrator_name",
|
| 19 |
+
"dimension_weapon_carried_used",
|
| 20 |
+
"dimension_protection_event_context",
|
| 21 |
+
"dimension_victim_of_violence",
|
| 22 |
+
"dimension_survivor_or_victim_sex",
|
| 23 |
+
"dimension_survivor_or_victim_minor",
|
| 24 |
+
"dimension_date_event_entered",
|
| 25 |
+
"source_period_start_year",
|
| 26 |
+
"source_period_end_year",
|
| 27 |
+
"source_period_label",
|
| 28 |
+
"source_provider",
|
| 29 |
+
"source_dataset",
|
| 30 |
+
"source_resource",
|
| 31 |
+
"source_package_id",
|
| 32 |
+
"source_resource_id",
|
| 33 |
+
"source_url",
|
| 34 |
+
"license_id",
|
| 35 |
+
"retrieved_at"
|
| 36 |
+
],
|
| 37 |
+
"generated_at": "2026-08-14T00:43:34Z",
|
| 38 |
+
"indicator_count": 12,
|
| 39 |
+
"mode": "indicator_long",
|
| 40 |
+
"repo_id": "electricsheepafrica/africa-niger-protection-in-danger-data-3c751a6f",
|
| 41 |
+
"rows": 106800,
|
| 42 |
+
"source": {
|
| 43 |
+
"api_base_url": "https://data.humdata.org/api/3/action",
|
| 44 |
+
"country_iso3": "NER",
|
| 45 |
+
"country_name": "Niger",
|
| 46 |
+
"group_names": "afg,bgd,blr,bih,bfa,cmr,caf,tcd,cog,cub,cod,egy,eth,deu,grc,hti,ind,idn,irq,jor,ken,lva,lbn,lby,mwi,mli,mex,mar,moz,mmr,nru,nzl,ner,nga,mkd,pol,svn,ssd,esp,pse,sdn,swe,syr,tha,uga,ukr,tza,usa,yem,zmb",
|
| 47 |
+
"license_id": "cc-by-sa",
|
| 48 |
+
"license_title": "Creative Commons Attribution Share-Alike (CC BY-SA)",
|
| 49 |
+
"license_url": "http://www.opendefinition.org/licenses/cc-by-sa",
|
| 50 |
+
"organization_name": "insecurity-insight",
|
| 51 |
+
"organization_title": "Insecurity Insight",
|
| 52 |
+
"package_id": "14b1ad1d-abcf-453d-970c-cb964084134e",
|
| 53 |
+
"package_name": "sind-protection-in-danger-monthly-news-briefs-dataset",
|
| 54 |
+
"package_notes": "This page contains violent agency- and open source events affecting refugee and IDP camps published in the [Protection in Danger Monthly News Brief](https://insecurityinsight.org/projects/ensuring-protection/protection-in-danger-monthly-news-brief-2). Categorized by country. Please get in touch if you are interested in curated datasets: info@insecurityinsight.org",
|
| 55 |
+
"package_page_url": "https://data.humdata.org/dataset/sind-protection-in-danger-monthly-news-briefs-dataset",
|
| 56 |
+
"package_title": "Protection in Danger Data",
|
| 57 |
+
"portal_url": "https://data.humdata.org",
|
| 58 |
+
"resource_description": "Resource covering 01 January 2020 to 20 July 2026 on threats and violence at [IDP/Refugee Camps](https://insecurityinsight.org/projects/ensuring-protection/protection-in-danger-monthly-news-brief-2) based on agency- and open source events. Categorised by country.",
|
| 59 |
+
"resource_format": "XLSX",
|
| 60 |
+
"resource_id": "588cad68-c650-4a68-b27e-f28139bd6693",
|
| 61 |
+
"resource_last_modified": "2026-08-10T08:05:46.223695",
|
| 62 |
+
"resource_name": "2020-2026 Protection in Danger Incident Data.xlsx",
|
| 63 |
+
"resource_position": "0",
|
| 64 |
+
"resource_url": "https://data.humdata.org/dataset/14b1ad1d-abcf-453d-970c-cb964084134e/resource/588cad68-c650-4a68-b27e-f28139bd6693/download/2020-2026-protection-in-danger-incident-data.xlsx",
|
| 65 |
+
"tag_names": "aid worker security,crisis-opt-israel-hostilities,internally displaced persons-idp,populated places-settlements,refugee crisis,refugees"
|
| 66 |
+
},
|
| 67 |
+
"year_max": 2026,
|
| 68 |
+
"year_min": 2024
|
| 69 |
+
}
|