Kossiesa commited on
Commit
ecf6454
·
verified ·
1 Parent(s): 4f5fcba

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - csv
14
+ - africa
15
+ - congo
16
+ - official-statistics
17
+ - open-data
18
+ - ict
19
+ configs:
20
+ - config_name: default
21
+ data_files:
22
+ - split: train
23
+ path: data/train-00000-of-00001.parquet
24
+ pretty_name: "Congo - VIEWS conflict forecasts | Africa (Congo official open data)"
25
+ ---
26
+
27
+ # Congo - VIEWS conflict forecasts | Africa (Congo official open data)
28
+
29
+ 36 rows - 1 Africa country - 2026-2027 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
30
+
31
+ ![rows](https://img.shields.io/badge/rows-36-blue)
32
+ ![countries](https://img.shields.io/badge/countries-1-green)
33
+ ![years](https://img.shields.io/badge/years-2026-2027-orange)
34
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
35
+ ![license](https://img.shields.io/badge/license-cc-by-sa-4.0-lightgrey)
36
+
37
+ ## TL;DR
38
+
39
+ This dataset packages one official `CSV` resource from **Congo** as
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
+ ## About the source
44
+
45
+ - **Source:** [Congo - VIEWS conflict forecasts](https://data.humdata.org/dataset/cog-views-conflict-forecasts)
46
+ - **Publisher:** Violence & Impacts Early-Warning System
47
+ - **Resource:** [cog-views-conflict-forecasts-country-month.csv](https://data.humdata.org/dataset/a2229464-f870-4ecd-b145-257f984d4202/resource/2328ae80-1a6a-4520-aafb-79fb4e0cd34e/download/cog-views-conflict-forecasts-country-month.csv)
48
+ - **Format:** `CSV`
49
+ - **License:** [CC BY-SA](https://creativecommons.org/licenses/by-sa/4.0/)
50
+ - **Packaging mode:** `tabular_resource`
51
+
52
+ ## Geographic coverage
53
+
54
+ 1 Africa country:
55
+
56
+ | Country | Rows | First year | Last year | Name |
57
+ |---------|-----:|-----------:|----------:|------|
58
+ | `COG` | 36 | 2026 | 2027 | `Congo` |
59
+
60
+ ## Indicators or Resource Contents
61
+
62
+ - This source file is packaged as a normalized tabular resource.
63
+
64
+ ## Schema
65
+
66
+ | Column | Type | Description | Example |
67
+ |--------|------|-------------|---------|
68
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `2328ae80-1a6a-4520-aafb-79fb4e0cd34e:0` |
69
+ | `country_iso3` | `category` | ISO3 country code. | `COG` |
70
+ | `country_name` | `category` | Country name. | `Congo` |
71
+ | `country_id` | `int64` | Source column. | `166` |
72
+ | `month_id` | `int64` | Source column. | `559` |
73
+ | `name` | `string` | Source column. | `Congo` |
74
+ | `gwcode` | `int64` | Source column. | `484` |
75
+ | `isoab` | `string` | Source column. | `COG` |
76
+ | `year` | `int64` | Observation year. | `2026` |
77
+ | `month` | `int64` | Source column. | `7` |
78
+ | `main_mean` | `float64` | Source column. | `0.0202` |
79
+ | `main_dich` | `float64` | Source column. | `0.0` |
80
+ | `main_mean_ln` | `float64` | Source column. | `0.02` |
81
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2026` |
82
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2026` |
83
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2026` |
84
+ | `source_provider` | `category` | Publishing organization. | `Violence & Impacts Early-Warning System` |
85
+ | `source_dataset` | `category` | Source package title. | `Congo - VIEWS conflict forecasts` |
86
+ | `source_resource` | `category` | Source resource title. | `cog-views-conflict-forecasts-country-month.csv` |
87
+ | `source_package_id` | `category` | CKAN package UUID. | `a2229464-f870-4ecd-b145-257f984d4202` |
88
+ | `source_resource_id` | `category` | CKAN resource UUID. | `2328ae80-1a6a-4520-aafb-79fb4e0cd34e` |
89
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/a2229464-f870-4ecd-b145-257f984d4202/re` |
90
+ | `license_id` | `category` | Source license identifier. | `cc-by-sa` |
91
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-16T12:36:20Z` |
92
+
93
+ ## Usage
94
+
95
+ ```python
96
+ from datasets import load_dataset
97
+
98
+ ds = load_dataset("electricsheepafrica/africa-congo-congo-views-conflict-forecasts-2f9287b5")
99
+ df = ds["train"].to_pandas()
100
+ print(df.head())
101
+ ```
102
+
103
+ ### Filter to one country
104
+
105
+ ```python
106
+ sample_country = df[df["country_iso3"] == "COG"]
107
+ ```
108
+
109
+ ### Work with indicators
110
+
111
+ ```python
112
+ if "indicator_id" in df.columns:
113
+ print(df["indicator_id"].value_counts().head())
114
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
115
+ ```
116
+
117
+ ## Citation
118
+
119
+ ```bibtex
120
+ @misc{electric_sheep_africa_africa_congo_congo_views_conflict_forecasts_2f9287b5_2027,
121
+ title = {Congo - VIEWS conflict forecasts | Africa (Congo official open data)},
122
+ author = {Violence & Impacts Early-Warning System},
123
+ year = {2027},
124
+ url = {https://data.humdata.org/dataset/cog-views-conflict-forecasts},
125
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
126
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-congo-congo-views-conflict-forecasts-2f9287b5}}
127
+ }
128
+ ```
129
+
130
+ ## License
131
+
132
+ Released under [CC BY-SA](https://creativecommons.org/licenses/by-sa/4.0/).
133
+
134
+ Original data (c) Violence & Impacts Early-Warning System. When using this dataset, please cite both the
135
+ original source above and the Electric Sheep Africa repackaging.
136
+
137
+ ## About Electric Sheep
138
+
139
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
140
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
141
+ open sources, normalize the schemas, package as Parquet, and publish with
142
+ consistent dataset cards so researchers and developers can use `load_dataset()`
143
+ to start working in seconds.
144
+
145
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
146
+
147
+ ---
148
+
149
+ Provenance: ingested 2026-08-16 via the Electric Sheep pipeline. Source URL:
150
+ https://data.humdata.org/dataset/a2229464-f870-4ecd-b145-257f984d4202/resource/2328ae80-1a6a-4520-aafb-79fb4e0cd34e/download/cog-views-conflict-forecasts-country-month.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71b80ad36372f47ccc49d8b3d0b2d4ca18f92904e3faa2e9f4d50dd0ff337af1
3
+ size 18905
metadata/source_snapshot.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "country_id",
7
+ "month_id",
8
+ "name",
9
+ "gwcode",
10
+ "isoab",
11
+ "year",
12
+ "month",
13
+ "main_mean",
14
+ "main_dich",
15
+ "main_mean_ln",
16
+ "source_period_start_year",
17
+ "source_period_end_year",
18
+ "source_period_label",
19
+ "source_provider",
20
+ "source_dataset",
21
+ "source_resource",
22
+ "source_package_id",
23
+ "source_resource_id",
24
+ "source_url",
25
+ "license_id",
26
+ "retrieved_at"
27
+ ],
28
+ "generated_at": "2026-08-16T12:53:10Z",
29
+ "indicator_count": 0,
30
+ "mode": "tabular_resource",
31
+ "repo_id": "electricsheepafrica/africa-congo-congo-views-conflict-forecasts-2f9287b5",
32
+ "rows": 36,
33
+ "source": {
34
+ "api_base_url": "https://data.humdata.org/api/3/action",
35
+ "country_iso3": "COG",
36
+ "country_name": "Congo",
37
+ "group_names": "cog",
38
+ "license_id": "cc-by-sa",
39
+ "license_title": "Creative Commons Attribution Share-Alike (CC BY-SA)",
40
+ "license_url": "http://www.opendefinition.org/licenses/cc-by-sa",
41
+ "organization_name": "views",
42
+ "organization_title": "Violence & Impacts Early-Warning System",
43
+ "package_id": "a2229464-f870-4ecd-b145-257f984d4202",
44
+ "package_name": "cog-views-conflict-forecasts",
45
+ "package_notes": "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.",
46
+ "package_page_url": "https://data.humdata.org/dataset/cog-views-conflict-forecasts",
47
+ "package_title": "Congo - VIEWS conflict forecasts",
48
+ "portal_url": "https://data.humdata.org",
49
+ "resource_description": "CSV of monthly predictions for impending state-based conflict up to three years in advance. The forecasts are presented as point predictions for the number of fatalities per country and month. See the [codebook](https://api.viewsforecasting.org/fatalities003_2026_06_t01/codebook) for a description of available variables.",
50
+ "resource_format": "CSV",
51
+ "resource_id": "2328ae80-1a6a-4520-aafb-79fb4e0cd34e",
52
+ "resource_last_modified": "2026-08-01T10:46:23.510428",
53
+ "resource_name": "cog-views-conflict-forecasts-country-month.csv",
54
+ "resource_position": "0",
55
+ "resource_url": "https://data.humdata.org/dataset/a2229464-f870-4ecd-b145-257f984d4202/resource/2328ae80-1a6a-4520-aafb-79fb4e0cd34e/download/cog-views-conflict-forecasts-country-month.csv",
56
+ "tag_names": "conflict-violence,fatalities,forecasting"
57
+ },
58
+ "year_max": 2027,
59
+ "year_min": 2026
60
+ }