Dataset Viewer
Auto-converted to Parquet Duplicate
country_id
int64
163
163
month_id
int64
555
589
name
stringclasses
1 value
gwcode
int64
560
560
isoab
stringclasses
1 value
year
int64
2.03k
2.03k
month
int64
1
12
main_mean_ln
float64
0.04
0.12
main_mean
float64
0.04
0.13
main_dich
float64
0
0
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-07 00:00:00
2026-04-07 00:00:00
163
563
South Africa
560
ZAF
2,026
11
0.0669
0.0692
0
HDX
2026-04-07
163
572
South Africa
560
ZAF
2,027
8
0.085
0.0887
0
HDX
2026-04-07
163
564
South Africa
560
ZAF
2,026
12
0.0553
0.0569
0
HDX
2026-04-07
163
589
South Africa
560
ZAF
2,029
1
0.1053
0.1111
0
HDX
2026-04-07
163
555
South Africa
560
ZAF
2,026
3
0.0591
0.0609
0
HDX
2026-04-07
163
559
South Africa
560
ZAF
2,026
7
0.0376
0.0383
0
HDX
2026-04-07
163
584
South Africa
560
ZAF
2,028
8
0.0839
0.0875
0
HDX
2026-04-07
163
570
South Africa
560
ZAF
2,027
6
0.0729
0.0756
0
HDX
2026-04-07
163
574
South Africa
560
ZAF
2,027
10
0.0994
0.1045
0
HDX
2026-04-07
163
560
South Africa
560
ZAF
2,026
8
0.055
0.0565
0
HDX
2026-04-07
163
566
South Africa
560
ZAF
2,027
2
0.0621
0.0641
0
HDX
2026-04-07
163
556
South Africa
560
ZAF
2,026
4
0.0424
0.0433
0
HDX
2026-04-07
163
579
South Africa
560
ZAF
2,028
3
0.1244
0.1325
0
HDX
2026-04-07
163
557
South Africa
560
ZAF
2,026
5
0.0893
0.0934
0
HDX
2026-04-07
163
588
South Africa
560
ZAF
2,028
12
0.1036
0.1092
0
HDX
2026-04-07
163
558
South Africa
560
ZAF
2,026
6
0.0521
0.0535
0
HDX
2026-04-07
163
587
South Africa
560
ZAF
2,028
11
0.0799
0.0832
0
HDX
2026-04-07
163
578
South Africa
560
ZAF
2,028
2
0.0882
0.0922
0
HDX
2026-04-07
163
582
South Africa
560
ZAF
2,028
6
0.101
0.1062
0
HDX
2026-04-07
163
565
South Africa
560
ZAF
2,027
1
0.0958
0.1005
0
HDX
2026-04-07
163
577
South Africa
560
ZAF
2,028
1
0.0881
0.0921
0
HDX
2026-04-07
163
573
South Africa
560
ZAF
2,027
9
0.0841
0.0878
0
HDX
2026-04-07
163
580
South Africa
560
ZAF
2,028
4
0.0803
0.0836
0
HDX
2026-04-07
163
561
South Africa
560
ZAF
2,026
9
0.0439
0.0449
0
HDX
2026-04-07
163
575
South Africa
560
ZAF
2,027
11
0.1016
0.107
0
HDX
2026-04-07
163
562
South Africa
560
ZAF
2,026
10
0.0494
0.0506
0
HDX
2026-04-07
163
569
South Africa
560
ZAF
2,027
5
0.0639
0.066
0
HDX
2026-04-07
163
583
South Africa
560
ZAF
2,028
7
0.1029
0.1084
0
HDX
2026-04-07

South Africa - 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: ZAF.

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 ZAF
Publisher Violence & Impacts Early-Warning System
HDX last updated 2026-04-01

Variables

Geographiccountry_id (range 163.0–163.0), isoab (ZAF), year (range 2026.0–2029.0).

Temporalmonth_id (range 555.0–590.0), month (range 1.0–12.0).

Identifier / Metadataname (South Africa), gwcode (range 560.0–560.0), esa_source (HDX), esa_processed (2026-04-07).

Othermain_mean_ln (range 0.0376–0.1244), main_mean (range 0.0383–0.1325), main_dich (range 0.0–0.0).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-zaf-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% 163.0 – 163.0 (mean 163.0)
month_id int64 0.0% 555.0 – 590.0 (mean 572.5)
name object 0.0% South Africa
gwcode int64 0.0% 560.0 – 560.0 (mean 560.0)
isoab object 0.0% ZAF
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.0376 – 0.1244 (mean 0.0806)
main_mean float64 0.0% 0.0383 – 0.1325 (mean 0.0842)
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-07

Numeric Summary

Column Min Max Mean Median
country_id 163.0 163.0 163.0 163.0
month_id 555.0 590.0 572.5 572.5
gwcode 560.0 560.0 560.0 560.0
year 2026.0 2029.0 2027.1667 2027.0
month 1.0 12.0 6.5 6.5
main_mean_ln 0.0376 0.1244 0.0806 0.084
main_mean 0.0383 0.1325 0.0842 0.0877
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_zaf_views_conflict_forecasts,
  title     = {South Africa - VIEWS conflict forecasts},
  author    = {Violence & Impacts Early-Warning System},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/zaf-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
17

Collection including electricsheepafrica/africa-zaf-views-conflict-forecasts