File size: 5,018 Bytes
d2dae0a 2ba123c d2dae0a 2ba123c d2dae0a 2ba123c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | ---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: cc-by-sa-4.0
multilinguality:
- monolingual
size_categories:
- n<1K
source_datasets:
- original
task_categories:
- tabular-classification
- tabular-regression
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- conflict-violence
- fatalities
- forecasting
- hxl
- gha
pretty_name: "Ghana - VIEWS conflict forecasts"
dataset_info:
splits:
- name: train
num_examples: 28
- name: test
num_examples: 7
---
# Ghana - VIEWS conflict forecasts
**Publisher:** Violence & Impacts Early-Warning System · **Source:** [HDX](https://data.humdata.org/dataset/gha-views-conflict-forecasts) · **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: **GHA**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## 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** | GHA |
| **Publisher** | Violence & Impacts Early-Warning System |
| **HDX last updated** | 2026-04-01 |
---
## Variables
**Geographic** — `country_id` (range 42.0–42.0), `isoab` (GHA), `year` (range 2026.0–2029.0).
**Temporal** — `month_id` (range 555.0–590.0), `month` (range 1.0–12.0).
**Identifier / Metadata** — `name` (Ghana), `gwcode` (range 452.0–452.0), `esa_source` (HDX), `esa_processed` (2026-04-06).
**Other** — `main_mean_ln` (range 0.0322–0.2937), `main_mean` (range 0.0327–0.3414), `main_dich` (range 0.0–0.0).
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-gha-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% | 42.0 – 42.0 (mean 42.0) |
| `month_id` | int64 | 0.0% | 555.0 – 590.0 (mean 572.5) |
| `name` | object | 0.0% | Ghana |
| `gwcode` | int64 | 0.0% | 452.0 – 452.0 (mean 452.0) |
| `isoab` | object | 0.0% | GHA |
| `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.0322 – 0.2937 (mean 0.1448) |
| `main_mean` | float64 | 0.0% | 0.0327 – 0.3414 (mean 0.1577) |
| `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-06 |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `country_id` | 42.0 | 42.0 | 42.0 | 42.0 |
| `month_id` | 555.0 | 590.0 | 572.5 | 572.5 |
| `gwcode` | 452.0 | 452.0 | 452.0 | 452.0 |
| `year` | 2026.0 | 2029.0 | 2027.1667 | 2027.0 |
| `month` | 1.0 | 12.0 | 6.5 | 6.5 |
| `main_mean_ln` | 0.0322 | 0.2937 | 0.1448 | 0.1508 |
| `main_mean` | 0.0327 | 0.3414 | 0.1577 | 0.1628 |
| `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](https://data.humdata.org/dataset/gha-views-conflict-forecasts) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_gha_views_conflict_forecasts,
title = {Ghana - VIEWS conflict forecasts},
author = {Violence & Impacts Early-Warning System},
year = {2026},
url = {https://data.humdata.org/dataset/gha-views-conflict-forecasts},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
```
---
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.* |