country_id int64 52 52 | month_id int64 555 589 | name stringclasses 1
value | gwcode int64 433 433 | isoab stringclasses 1
value | year int64 2.03k 2.03k | month int64 1 12 | main_mean_ln float64 0.01 0.06 | main_mean float64 0.01 0.06 | main_dich float64 0 0 | esa_source stringclasses 1
value | esa_processed stringdate 2026-04-08 00:00:00 2026-04-08 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|
52 | 563 | Senegal | 433 | SEN | 2,026 | 11 | 0.0244 | 0.0247 | 0 | HDX | 2026-04-08 |
52 | 572 | Senegal | 433 | SEN | 2,027 | 8 | 0.0292 | 0.0297 | 0 | HDX | 2026-04-08 |
52 | 564 | Senegal | 433 | SEN | 2,026 | 12 | 0.0268 | 0.0271 | 0 | HDX | 2026-04-08 |
52 | 589 | Senegal | 433 | SEN | 2,029 | 1 | 0.0521 | 0.0534 | 0 | HDX | 2026-04-08 |
52 | 555 | Senegal | 433 | SEN | 2,026 | 3 | 0.0098 | 0.0098 | 0 | HDX | 2026-04-08 |
52 | 559 | Senegal | 433 | SEN | 2,026 | 7 | 0.015 | 0.0151 | 0 | HDX | 2026-04-08 |
52 | 584 | Senegal | 433 | SEN | 2,028 | 8 | 0.0551 | 0.0567 | 0 | HDX | 2026-04-08 |
52 | 570 | Senegal | 433 | SEN | 2,027 | 6 | 0.0351 | 0.0357 | 0 | HDX | 2026-04-08 |
52 | 574 | Senegal | 433 | SEN | 2,027 | 10 | 0.0361 | 0.0367 | 0 | HDX | 2026-04-08 |
52 | 560 | Senegal | 433 | SEN | 2,026 | 8 | 0.0184 | 0.0186 | 0 | HDX | 2026-04-08 |
52 | 566 | Senegal | 433 | SEN | 2,027 | 2 | 0.033 | 0.0335 | 0 | HDX | 2026-04-08 |
52 | 556 | Senegal | 433 | SEN | 2,026 | 4 | 0.0098 | 0.0098 | 0 | HDX | 2026-04-08 |
52 | 579 | Senegal | 433 | SEN | 2,028 | 3 | 0.0469 | 0.048 | 0 | HDX | 2026-04-08 |
52 | 557 | Senegal | 433 | SEN | 2,026 | 5 | 0.012 | 0.012 | 0 | HDX | 2026-04-08 |
52 | 588 | Senegal | 433 | SEN | 2,028 | 12 | 0.052 | 0.0534 | 0 | HDX | 2026-04-08 |
52 | 558 | Senegal | 433 | SEN | 2,026 | 6 | 0.013 | 0.0131 | 0 | HDX | 2026-04-08 |
52 | 587 | Senegal | 433 | SEN | 2,028 | 11 | 0.0552 | 0.0567 | 0 | HDX | 2026-04-08 |
52 | 578 | Senegal | 433 | SEN | 2,028 | 2 | 0.0432 | 0.0442 | 0 | HDX | 2026-04-08 |
52 | 582 | Senegal | 433 | SEN | 2,028 | 6 | 0.044 | 0.045 | 0 | HDX | 2026-04-08 |
52 | 565 | Senegal | 433 | SEN | 2,027 | 1 | 0.0339 | 0.0345 | 0 | HDX | 2026-04-08 |
52 | 577 | Senegal | 433 | SEN | 2,028 | 1 | 0.0388 | 0.0396 | 0 | HDX | 2026-04-08 |
52 | 573 | Senegal | 433 | SEN | 2,027 | 9 | 0.0336 | 0.0342 | 0 | HDX | 2026-04-08 |
52 | 580 | Senegal | 433 | SEN | 2,028 | 4 | 0.0398 | 0.0407 | 0 | HDX | 2026-04-08 |
52 | 561 | Senegal | 433 | SEN | 2,026 | 9 | 0.0187 | 0.0189 | 0 | HDX | 2026-04-08 |
52 | 575 | Senegal | 433 | SEN | 2,027 | 11 | 0.0354 | 0.0361 | 0 | HDX | 2026-04-08 |
52 | 562 | Senegal | 433 | SEN | 2,026 | 10 | 0.0227 | 0.0229 | 0 | HDX | 2026-04-08 |
52 | 569 | Senegal | 433 | SEN | 2,027 | 5 | 0.0358 | 0.0364 | 0 | HDX | 2026-04-08 |
52 | 583 | Senegal | 433 | SEN | 2,028 | 7 | 0.0518 | 0.0531 | 0 | HDX | 2026-04-08 |
Senegal - VIEWS conflict forecasts
Publisher: Violence & Impacts Early-Warning System · Source: HDX · License: cc-by-sa · Updated: 2026-04-01
Abstract
The Violence & Impacts Early-Warning System (VIEWS) is an award-winning conflict prediction system that generates monthly forecasts for violent conflicts across the world up to three years in advance. It is supported by the iterative research and development activities undertaken by the VIEWS consortium.
Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-04-01. Geographic scope: SEN.
Curated into ML-ready Parquet format by Electric Sheep Africa.
Dataset Characteristics
| Domain | Conflict and security |
| Unit of observation | Country-level aggregates |
| Rows (total) | 36 |
| Columns | 12 (8 numeric, 4 categorical, 0 datetime) |
| Train split | 28 rows |
| Test split | 7 rows |
| Geographic scope | SEN |
| Publisher | Violence & Impacts Early-Warning System |
| HDX last updated | 2026-04-01 |
Variables
Geographic — country_id (range 52.0–52.0), isoab (SEN), year (range 2026.0–2029.0).
Temporal — month_id (range 555.0–590.0), month (range 1.0–12.0).
Identifier / Metadata — name (Senegal), gwcode (range 433.0–433.0), esa_source (HDX), esa_processed (2026-04-08).
Other — main_mean_ln (range 0.0098–0.0746), main_mean (range 0.0098–0.0774), main_dich (range 0.0–0.0).
Quick Start
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-sen-views-conflict-forecasts")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
Schema
| Column | Type | Null % | Range / Sample Values |
|---|---|---|---|
country_id |
int64 | 0.0% | 52.0 – 52.0 (mean 52.0) |
month_id |
int64 | 0.0% | 555.0 – 590.0 (mean 572.5) |
name |
object | 0.0% | Senegal |
gwcode |
int64 | 0.0% | 433.0 – 433.0 (mean 433.0) |
isoab |
object | 0.0% | SEN |
year |
int64 | 0.0% | 2026.0 – 2029.0 (mean 2027.1667) |
month |
int64 | 0.0% | 1.0 – 12.0 (mean 6.5) |
main_mean_ln |
float64 | 0.0% | 0.0098 – 0.0746 (mean 0.0361) |
main_mean |
float64 | 0.0% | 0.0098 – 0.0774 (mean 0.0369) |
main_dich |
float64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
esa_source |
object | 0.0% | HDX |
esa_processed |
object | 0.0% | 2026-04-08 |
Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
country_id |
52.0 | 52.0 | 52.0 | 52.0 |
month_id |
555.0 | 590.0 | 572.5 | 572.5 |
gwcode |
433.0 | 433.0 | 433.0 | 433.0 |
year |
2026.0 | 2029.0 | 2027.1667 | 2027.0 |
month |
1.0 | 12.0 | 6.5 | 6.5 |
main_mean_ln |
0.0098 | 0.0746 | 0.0361 | 0.0353 |
main_mean |
0.0098 | 0.0774 | 0.0369 | 0.0359 |
main_dich |
0.0 | 0.0 | 0.0 | 0.0 |
Curation
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. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
Limitations
- Data originates from Violence & Impacts Early-Warning System and has not been independently validated by ESA.
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
- Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.
Citation
@dataset{hdx_africa_sen_views_conflict_forecasts,
title = {Senegal - VIEWS conflict forecasts},
author = {Violence & Impacts Early-Warning System},
year = {2026},
url = {https://data.humdata.org/dataset/sen-views-conflict-forecasts},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
Electric Sheep Africa — Africa's ML dataset infrastructure. Lagos, Nigeria.
- Downloads last month
- 25