Standardize Electric Sheep Africa dataset card
Browse files
README.md
CHANGED
|
@@ -5,109 +5,132 @@ language:
|
|
| 5 |
task_categories:
|
| 6 |
- tabular-classification
|
| 7 |
- tabular-regression
|
| 8 |
-
multilinguality:
|
| 9 |
size_categories:
|
| 10 |
- n<1K
|
| 11 |
tags:
|
| 12 |
-
- tabular
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
-
|
| 17 |
-
-
|
| 18 |
-
- education
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
configs:
|
| 20 |
- config_name: default
|
| 21 |
data_files:
|
| 22 |
- split: train
|
| 23 |
path: data/train-00000-of-00001.parquet
|
| 24 |
-
pretty_name: "Education in Danger Data | Africa (
|
| 25 |
---
|
| 26 |
|
| 27 |
-
# Education in Danger Data | Africa (
|
| 28 |
|
| 29 |
-
137 rows - 1 Africa country - 2018-2023 -
|
| 30 |
|
| 31 |

|
| 32 |

|
| 33 |
-

|
| 35 |
-

|
| 36 |
|
| 37 |
## TL;DR
|
| 38 |
|
| 39 |
-
This dataset
|
| 40 |
-
ML-ready Parquet. The source file is the provenance boundary; all usable
|
| 41 |
-
indicators or tabular columns from the resource stay together in this repo.
|
| 42 |
|
| 43 |
-
##
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
-
## Geographic
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
-
|
|
| 57 |
-
|------
|
| 58 |
| `TCD` | 137 | 2018 | 2023 | `Chad` |
|
| 59 |
|
| 60 |
-
## Indicators
|
| 61 |
|
| 62 |
-
- This source
|
| 63 |
|
| 64 |
## Schema
|
| 65 |
|
| 66 |
| Column | Type | Description | Example |
|
| 67 |
|--------|------|-------------|---------|
|
| 68 |
-
| `source_record_id` | `string` | Stable row identifier
|
| 69 |
-
| `country_iso3` | `
|
| 70 |
-
| `country_name` | `
|
| 71 |
-
| `source_sheet` | `string` |
|
| 72 |
| `date` | `string` | Observation date. | `#date +occurred` |
|
| 73 |
-
| `country` | `string` | Source column. | `#country` |
|
| 74 |
-
| `country_iso` | `string` | Source column. | `#country_ISO` |
|
| 75 |
-
| `reported_perpetrator` | `string` | Source column. | `#group +perp` |
|
| 76 |
-
| `reported_perpetrator_name` | `string` | Source column. | `#group +perp +name` |
|
| 77 |
-
| `weapon_carried_used` | `string` | Source column. | `#weapons` |
|
| 78 |
-
| `type_of_education_facility` | `string` | Source column. | `` |
|
| 79 |
-
| `attacks_on_schools` | `
|
| 80 |
-
| `attacks_on_universities` | `
|
| 81 |
-
| `military_occupation_of_education_facility` | `
|
| 82 |
-
| `arson_attack_on_education_facility` | `
|
| 83 |
-
| `forced_entry_into_education_facility` | `
|
| 84 |
-
| `damage_destruction_to_ed_facility_event` | `
|
| 85 |
-
| `attacks_on_students_and_teachers` | `string` | Source column. | `` |
|
| 86 |
-
| `educators_killed` | `
|
| 87 |
-
| `educators_injured` | `
|
| 88 |
-
| `educators_kidnapped` | `
|
| 89 |
-
| `educators_arrested` | `
|
| 90 |
-
| `known_educators_kidnap_or_arrest_outcome` | `string` | Source column. | `` |
|
| 91 |
-
| `students_attacked_in_school` | `
|
| 92 |
-
| `students_killed` | `
|
| 93 |
-
| `students_injured` | `
|
| 94 |
-
| `students_kidnapped` | `
|
| 95 |
-
| `known_student_kidnap_or_arrest_outcome` | `string` | Source column. | `#affected +student +arrested` |
|
| 96 |
-
| `students_arrested` | `
|
| 97 |
-
| `sexual_violence_affecting_school_age_children` | `
|
| 98 |
-
| `sind_event_id` | `
|
| 99 |
-
| `source_period_start_year` | `
|
| 100 |
-
| `source_period_end_year` | `
|
| 101 |
-
| `source_period_label` | `
|
| 102 |
-
| `source_provider` | `
|
| 103 |
-
| `source_dataset` | `
|
| 104 |
-
| `source_resource` | `
|
| 105 |
-
| `source_package_id` | `
|
| 106 |
-
| `source_resource_id` | `
|
| 107 |
-
| `source_url` | `
|
| 108 |
-
| `license_id` | `
|
| 109 |
-
| `retrieved_at` | `
|
| 110 |
-
| `data_notes` | `string` | Source column. | `` |
|
| 111 |
|
| 112 |
## Usage
|
| 113 |
|
|
@@ -119,51 +142,92 @@ df = ds["train"].to_pandas()
|
|
| 119 |
print(df.head())
|
| 120 |
```
|
| 121 |
|
| 122 |
-
###
|
| 123 |
|
| 124 |
```python
|
| 125 |
-
|
|
|
|
| 126 |
```
|
| 127 |
|
| 128 |
-
###
|
| 129 |
|
| 130 |
```python
|
| 131 |
-
if "
|
| 132 |
-
|
| 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_chad_education_in_danger_data_50c9ff13_2023,
|
| 140 |
-
title = {Education in Danger Data | Africa (
|
| 141 |
author = {Insecurity Insight},
|
| 142 |
year = {2023},
|
| 143 |
url = {https://data.humdata.org/dataset/sind-education-in-danger-monthly-news-briefs-dataset},
|
| 144 |
-
publisher = {
|
| 145 |
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-chad-education-in-danger-data-50c9ff13}}
|
| 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 |
-
|
|
|
|
|
|
|
| 157 |
|
| 158 |
-
|
| 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 |
-
|
| 165 |
|
| 166 |
---
|
| 167 |
|
| 168 |
-
Provenance:
|
| 169 |
-
https://data.humdata.org/dataset/c7db52ae-13c2-4bf5-ae71-a9243a68194e/resource/49e4698a-33c0-42cd-8421-83b7823d9597/download/2018-2023-west-and-central-africa-arson-attacks-dataset.xlsx
|
|
|
|
| 5 |
task_categories:
|
| 6 |
- tabular-classification
|
| 7 |
- tabular-regression
|
| 8 |
+
multilinguality: multilingual
|
| 9 |
size_categories:
|
| 10 |
- n<1K
|
| 11 |
tags:
|
| 12 |
+
- "tabular"
|
| 13 |
+
- "africa"
|
| 14 |
+
- "open-data"
|
| 15 |
+
- "official-statistics"
|
| 16 |
+
- "chad"
|
| 17 |
+
- "insecurity-insight"
|
| 18 |
+
- "education"
|
| 19 |
+
- "afg"
|
| 20 |
+
- "alb"
|
| 21 |
+
- "dza"
|
| 22 |
+
- "ago"
|
| 23 |
+
- "arm"
|
| 24 |
+
- "aus"
|
| 25 |
+
- "aze"
|
| 26 |
+
- "bgd"
|
| 27 |
configs:
|
| 28 |
- config_name: default
|
| 29 |
data_files:
|
| 30 |
- split: train
|
| 31 |
path: data/train-00000-of-00001.parquet
|
| 32 |
+
pretty_name: "Education in Danger Data | Africa (Insecurity Insight)"
|
| 33 |
---
|
| 34 |
|
| 35 |
+
# Education in Danger Data | Africa (Insecurity Insight)
|
| 36 |
|
| 37 |
+
**137 rows** - **1 Africa country/area** - **2018-2023** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
|
| 38 |
|
| 39 |

|
| 40 |

|
| 41 |
+

|
| 42 |

|
| 43 |
+

|
| 44 |
|
| 45 |
## TL;DR
|
| 46 |
|
| 47 |
+
This dataset contains **137 rows** from **Insecurity Insight**, covering **Education in Danger Data**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
|
|
|
|
|
|
|
| 48 |
|
| 49 |
+
## What This Dataset Measures
|
| 50 |
|
| 51 |
+
Education datasets help analysts study access, participation, learning systems, infrastructure, and outcomes across places and periods.
|
| 52 |
+
|
| 53 |
+
Source-provided context: Dataset covering 01 January 2018 to 30 June 2023 on arson attacks on schools in West and Central Africa based on agency- and open source events.
|
| 54 |
+
|
| 55 |
+
## How To Read This Dataset
|
| 56 |
+
|
| 57 |
+
- **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
|
| 58 |
+
- **Primary geography column:** `country_iso3`.
|
| 59 |
+
- **Best time column:** `not detected`.
|
| 60 |
+
- **Time coverage basis:** source metadata.
|
| 61 |
+
- **Recommended join keys:** `country_iso3` where available plus source-specific keys.
|
| 62 |
+
|
| 63 |
+
## Coverage
|
| 64 |
+
|
| 65 |
+
| Dimension | Value |
|
| 66 |
+
|---|---:|
|
| 67 |
+
| Rows | 137 |
|
| 68 |
+
| Countries/areas | 1 |
|
| 69 |
+
| First period | 2018 |
|
| 70 |
+
| Last period | 2023 |
|
| 71 |
+
| Indicators | 0 |
|
| 72 |
+
| Columns | 43 |
|
| 73 |
+
| Source format | XLSX |
|
| 74 |
|
| 75 |
+
## Geographic Coverage
|
| 76 |
|
| 77 |
+
Top areas shown below, sorted by row count when available:
|
| 78 |
|
| 79 |
+
| Area | Rows | First year | Last year | Name |
|
| 80 |
+
|------|-----:|-----------:|----------:|------|
|
| 81 |
| `TCD` | 137 | 2018 | 2023 | `Chad` |
|
| 82 |
|
| 83 |
+
## Indicators, Variables, Or Resource Contents
|
| 84 |
|
| 85 |
+
- This repo preserves one source tabular resource with its usable columns kept together.
|
| 86 |
|
| 87 |
## Schema
|
| 88 |
|
| 89 |
| Column | Type | Description | Example |
|
| 90 |
|--------|------|-------------|---------|
|
| 91 |
+
| `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `49e4698a-33c0-42cd-8421-83b7823d9597:2018-2023-arson-attacks-wc-afri:0` |
|
| 92 |
+
| `country_iso3` | `dictionary<values=string, indices=int8, ordered=0>` | ISO3 country or area code. | `TCD` |
|
| 93 |
+
| `country_name` | `dictionary<values=string, indices=int8, ordered=0>` | Country or area name. | `Chad` |
|
| 94 |
+
| `source_sheet` | `string` | Source column from the original resource. | `2018-2023 Arson Attacks WC Afri` |
|
| 95 |
| `date` | `string` | Observation date. | `#date +occurred` |
|
| 96 |
+
| `country` | `string` | Source column from the original resource. | `#country` |
|
| 97 |
+
| `country_iso` | `string` | Source column from the original resource. | `#country_ISO` |
|
| 98 |
+
| `reported_perpetrator` | `string` | Source column from the original resource. | `#group +perp` |
|
| 99 |
+
| `reported_perpetrator_name` | `string` | Source column from the original resource. | `#group +perp +name` |
|
| 100 |
+
| `weapon_carried_used` | `string` | Source column from the original resource. | `#weapons` |
|
| 101 |
+
| `type_of_education_facility` | `string` | Source column from the original resource. | `` |
|
| 102 |
+
| `attacks_on_schools` | `double` | Source column from the original resource. | `` |
|
| 103 |
+
| `attacks_on_universities` | `double` | Source column from the original resource. | `` |
|
| 104 |
+
| `military_occupation_of_education_facility` | `double` | Source column from the original resource. | `` |
|
| 105 |
+
| `arson_attack_on_education_facility` | `double` | Source column from the original resource. | `` |
|
| 106 |
+
| `forced_entry_into_education_facility` | `double` | Source column from the original resource. | `` |
|
| 107 |
+
| `damage_destruction_to_ed_facility_event` | `double` | Source column from the original resource. | `` |
|
| 108 |
+
| `attacks_on_students_and_teachers` | `string` | Source column from the original resource. | `` |
|
| 109 |
+
| `educators_killed` | `double` | Source column from the original resource. | `` |
|
| 110 |
+
| `educators_injured` | `double` | Source column from the original resource. | `` |
|
| 111 |
+
| `educators_kidnapped` | `double` | Source column from the original resource. | `` |
|
| 112 |
+
| `educators_arrested` | `double` | Source column from the original resource. | `` |
|
| 113 |
+
| `known_educators_kidnap_or_arrest_outcome` | `string` | Source column from the original resource. | `` |
|
| 114 |
+
| `students_attacked_in_school` | `double` | Source column from the original resource. | `` |
|
| 115 |
+
| `students_killed` | `double` | Source column from the original resource. | `` |
|
| 116 |
+
| `students_injured` | `double` | Source column from the original resource. | `` |
|
| 117 |
+
| `students_kidnapped` | `double` | Source column from the original resource. | `` |
|
| 118 |
+
| `known_student_kidnap_or_arrest_outcome` | `string` | Source column from the original resource. | `#affected +student +arrested` |
|
| 119 |
+
| `students_arrested` | `double` | Source column from the original resource. | `` |
|
| 120 |
+
| `sexual_violence_affecting_school_age_children` | `double` | Source column from the original resource. | `` |
|
| 121 |
+
| `sind_event_id` | `double` | Source column from the original resource. | `` |
|
| 122 |
+
| `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2018` |
|
| 123 |
+
| `source_period_end_year` | `int64` | End year inferred from source metadata. | `2023` |
|
| 124 |
+
| `source_period_label` | `dictionary<values=string, indices=int8, ordered=0>` | Source column from the original resource. | `2018-2023` |
|
| 125 |
+
| `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `Insecurity Insight` |
|
| 126 |
+
| `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `Education in Danger Data` |
|
| 127 |
+
| `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `2018-2023 West and Central Africa Arson Attacks Dataset.xlsx` |
|
| 128 |
+
| `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `c7db52ae-13c2-4bf5-ae71-a9243a68194e` |
|
| 129 |
+
| `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `49e4698a-33c0-42cd-8421-83b7823d9597` |
|
| 130 |
+
| `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.humdata.org/dataset/c7db52ae-13c2-4bf5-ae71-a9243a68194e...` |
|
| 131 |
+
| `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `cc-by-sa` |
|
| 132 |
+
| `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-10T22:51:43Z` |
|
| 133 |
+
| `data_notes` | `string` | Source column from the original resource. | `` |
|
| 134 |
|
| 135 |
## Usage
|
| 136 |
|
|
|
|
| 142 |
print(df.head())
|
| 143 |
```
|
| 144 |
|
| 145 |
+
### Inspect Columns
|
| 146 |
|
| 147 |
```python
|
| 148 |
+
print(df.info())
|
| 149 |
+
print(df.head())
|
| 150 |
```
|
| 151 |
|
| 152 |
+
### Filter By Geography
|
| 153 |
|
| 154 |
```python
|
| 155 |
+
if "country_iso3" in df.columns:
|
| 156 |
+
sample = df[df["country_iso3"] == "TCD"]
|
|
|
|
| 157 |
```
|
| 158 |
|
| 159 |
+
### Time-Series Pattern
|
| 160 |
+
|
| 161 |
+
```python
|
| 162 |
+
if "value" in df.columns and "year" in df.columns:
|
| 163 |
+
trend = df.sort_values("year")
|
| 164 |
+
```
|
| 165 |
+
|
| 166 |
+
### Pivot For Analysis
|
| 167 |
+
|
| 168 |
+
```python
|
| 169 |
+
if {"indicator_id", "year", "value"}.issubset(df.columns):
|
| 170 |
+
matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
|
| 171 |
+
print(matrix.tail())
|
| 172 |
+
```
|
| 173 |
+
|
| 174 |
+
## Data Quality Notes
|
| 175 |
+
|
| 176 |
+
- No canonical year/date column was detected in the packaged table; use source metadata and domain context for temporal interpretation.
|
| 177 |
+
- Missing values are preserved rather than silently imputed.
|
| 178 |
+
- Column names are standardized for machine use; source meanings are preserved where known.
|
| 179 |
+
- Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
|
| 180 |
+
|
| 181 |
+
## Source And Provenance
|
| 182 |
+
|
| 183 |
+
- **Source:** [Insecurity Insight](https://data.humdata.org/dataset/sind-education-in-danger-monthly-news-briefs-dataset)
|
| 184 |
+
- **Publisher:** Insecurity Insight
|
| 185 |
+
- **Portal:** [https://data.humdata.org](https://data.humdata.org)
|
| 186 |
+
- **Resource:** [2018-2023 West and Central Africa Arson Attacks Dataset.xlsx](https://data.humdata.org/dataset/c7db52ae-13c2-4bf5-ae71-a9243a68194e/resource/49e4698a-33c0-42cd-8421-83b7823d9597/download/2018-2023-west-and-central-africa-arson-attacks-dataset.xlsx)
|
| 187 |
+
- **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
| 188 |
+
- **Retrieved/generated:** `2026-08-10T22:52:26Z`
|
| 189 |
+
- **Hugging Face repo:** [electricsheepafrica/africa-chad-education-in-danger-data-50c9ff13](https://huggingface.co/datasets/electricsheepafrica/africa-chad-education-in-danger-data-50c9ff13)
|
| 190 |
+
|
| 191 |
+
## Transformations Applied
|
| 192 |
+
|
| 193 |
+
- Converted the source table to Parquet for efficient analytics and ML workflows.
|
| 194 |
+
- Added or preserved source provenance columns where available.
|
| 195 |
+
- Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
|
| 196 |
+
- Preserved source-reported values without analytical imputation.
|
| 197 |
+
|
| 198 |
+
## Suggested Analyses
|
| 199 |
+
|
| 200 |
+
- Compare education indicators by geography
|
| 201 |
+
- Track participation or completion trends
|
| 202 |
+
- Join with population and poverty indicators
|
| 203 |
+
- Check missingness before modeling
|
| 204 |
+
- Use `country_iso3` as the safest geography join key when present
|
| 205 |
+
|
| 206 |
## Citation
|
| 207 |
|
| 208 |
```bibtex
|
| 209 |
@misc{electric_sheep_africa_africa_chad_education_in_danger_data_50c9ff13_2023,
|
| 210 |
+
title = {Education in Danger Data | Africa (Insecurity Insight)},
|
| 211 |
author = {Insecurity Insight},
|
| 212 |
year = {2023},
|
| 213 |
url = {https://data.humdata.org/dataset/sind-education-in-danger-monthly-news-briefs-dataset},
|
| 214 |
+
publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
|
| 215 |
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-chad-education-in-danger-data-50c9ff13}}
|
| 216 |
}
|
| 217 |
```
|
| 218 |
|
| 219 |
## License
|
| 220 |
|
| 221 |
+
Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
|
|
|
|
|
|
|
|
|
|
| 222 |
|
| 223 |
+
Original data is published by Insecurity Insight. Electric Sheep Africa
|
| 224 |
+
engineering standardizes the data for discovery, loading, and analysis on
|
| 225 |
+
Hugging Face. Cite both the original source and this ML-ready dataset when used.
|
| 226 |
|
| 227 |
+
## About Electric Sheep Africa
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
|
| 229 |
+
Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
|
| 230 |
|
| 231 |
---
|
| 232 |
|
| 233 |
+
Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.humdata.org/dataset/sind-education-in-danger-monthly-news-briefs-dataset
|
|
|