Dataset Viewer
Auto-converted to Parquet Duplicate
country_id
int64
73
73
month_id
int64
555
589
name
stringclasses
1 value
gwcode
int64
616
616
isoab
stringclasses
1 value
year
int64
2.03k
2.03k
month
int64
1
12
main_mean_ln
float64
1.54
2.47
main_mean
float64
3.67
10.8
main_dich
float64
0
0
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-06 00:00:00
2026-04-06 00:00:00
73
563
Tunisia
616
TUN
2,026
11
2.3923
9.9387
0.0008
HDX
2026-04-06
73
572
Tunisia
616
TUN
2,027
8
1.7302
4.6415
0
HDX
2026-04-06
73
564
Tunisia
616
TUN
2,026
12
2.13
7.4151
0.0001
HDX
2026-04-06
73
589
Tunisia
616
TUN
2,029
1
1.6795
4.3631
0
HDX
2026-04-06
73
555
Tunisia
616
TUN
2,026
3
2.0992
7.1597
0.0001
HDX
2026-04-06
73
559
Tunisia
616
TUN
2,026
7
2.1256
7.3775
0.0001
HDX
2026-04-06
73
584
Tunisia
616
TUN
2,028
8
1.5707
3.8101
0
HDX
2026-04-06
73
570
Tunisia
616
TUN
2,027
6
1.9845
6.2755
0
HDX
2026-04-06
73
574
Tunisia
616
TUN
2,027
10
1.8974
5.6685
0
HDX
2026-04-06
73
560
Tunisia
616
TUN
2,026
8
2.4066
10.0965
0.001
HDX
2026-04-06
73
566
Tunisia
616
TUN
2,027
2
2.1234
7.3592
0.0001
HDX
2026-04-06
73
556
Tunisia
616
TUN
2,026
4
2.0681
6.9098
0.0001
HDX
2026-04-06
73
579
Tunisia
616
TUN
2,028
3
1.6549
4.2327
0
HDX
2026-04-06
73
557
Tunisia
616
TUN
2,026
5
2.0612
6.8551
0.0001
HDX
2026-04-06
73
588
Tunisia
616
TUN
2,028
12
1.5984
3.9453
0
HDX
2026-04-06
73
558
Tunisia
616
TUN
2,026
6
2.1994
8.0192
0.0002
HDX
2026-04-06
73
587
Tunisia
616
TUN
2,028
11
1.6258
4.0825
0
HDX
2026-04-06
73
578
Tunisia
616
TUN
2,028
2
1.8782
5.5416
0
HDX
2026-04-06
73
582
Tunisia
616
TUN
2,028
6
1.5419
3.6736
0
HDX
2026-04-06
73
565
Tunisia
616
TUN
2,027
1
2.0046
6.4233
0
HDX
2026-04-06
73
577
Tunisia
616
TUN
2,028
1
1.9525
6.046
0
HDX
2026-04-06
73
573
Tunisia
616
TUN
2,027
9
1.9301
5.8899
0
HDX
2026-04-06
73
580
Tunisia
616
TUN
2,028
4
1.6133
4.0196
0
HDX
2026-04-06
73
561
Tunisia
616
TUN
2,026
9
2.3451
9.4345
0.0006
HDX
2026-04-06
73
575
Tunisia
616
TUN
2,027
11
1.9038
5.7116
0
HDX
2026-04-06
73
562
Tunisia
616
TUN
2,026
10
2.4682
10.8012
0.0016
HDX
2026-04-06
73
569
Tunisia
616
TUN
2,027
5
2.019
6.5308
0
HDX
2026-04-06
73
583
Tunisia
616
TUN
2,028
7
1.5886
3.8969
0
HDX
2026-04-06

Tunisia - 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: TUN.

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

Variables

Geographiccountry_id (range 73.0–73.0), isoab (TUN), year (range 2026.0–2029.0).

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

Identifier / Metadataname (Tunisia), gwcode (range 616.0–616.0), esa_source (HDX), esa_processed (2026-04-06).

Othermain_mean_ln (range 1.5101–2.4682), main_mean (range 3.5273–10.8012), main_dich (range 0.0–0.0016).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-tun-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% 73.0 – 73.0 (mean 73.0)
month_id int64 0.0% 555.0 – 590.0 (mean 572.5)
name object 0.0% Tunisia
gwcode int64 0.0% 616.0 – 616.0 (mean 616.0)
isoab object 0.0% TUN
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% 1.5101 – 2.4682 (mean 1.9153)
main_mean float64 0.0% 3.5273 – 10.8012 (mean 6.0316)
main_dich float64 0.0% 0.0 – 0.0016 (mean 0.0001)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-06

Numeric Summary

Column Min Max Mean Median
country_id 73.0 73.0 73.0 73.0
month_id 555.0 590.0 572.5 572.5
gwcode 616.0 616.0 616.0 616.0
year 2026.0 2029.0 2027.1667 2027.0
month 1.0 12.0 6.5 6.5
main_mean_ln 1.5101 2.4682 1.9153 1.9511
main_mean 3.5273 10.8012 6.0316 6.0365
main_dich 0.0 0.0016 0.0001 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_tun_views_conflict_forecasts,
  title     = {Tunisia - VIEWS conflict forecasts},
  author    = {Violence & Impacts Early-Warning System},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/tun-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
23

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