Kossisoroyce commited on
Commit
20476cc
·
verified ·
1 Parent(s): bdc6d7a

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +143 -26
README.md CHANGED
@@ -1,30 +1,147 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: respect_of_counterarguments_1900_2021
5
- dtype: string
6
- - name: unnamed_1
7
- dtype: float64
8
- - name: unnamed_2
9
- dtype: float64
10
- - name: esa_source
11
- dtype: string
12
- - name: esa_processed
13
- dtype: string
14
  splits:
15
- - name: train
16
- num_bytes: 50935
17
- num_examples: 1041
18
- - name: test
19
- num_bytes: 12619
20
- num_examples: 261
21
- download_size: 12467
22
- dataset_size: 63554
23
- configs:
24
- - config_name: default
25
- data_files:
26
- - split: train
27
- path: data/train-*
28
- - split: test
29
- path: data/test-*
30
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license: cc-by-4.0
9
+ multilinguality:
10
+ - monolingual
11
+ size_categories:
12
+ - 1K<n<10K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-classification
17
+ - tabular-regression
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - democratic-culture
25
+ - political-pluralism
26
+ - benin
27
+ - botswana
28
+ - cape-verde
29
+ - ethiopia
30
+ - kenya
31
+ pretty_name: "Respect of Counterarguments (1900-2021)"
32
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
33
  splits:
34
+ - name: train
35
+ num_examples: 1041
36
+ - name: test
37
+ num_examples: 260
 
 
 
 
 
 
 
 
 
 
 
38
  ---
39
+
40
+ # Respect of Counterarguments (1900-2021)
41
+
42
+ **Publisher:** V-Dem Institute · **Source:** [OpenAfrica](https://open.africa/dataset/respect-of-counteraguments-1900-2021) · **License:** `cc-by` · **Updated:** 2023-01-27
43
+
44
+ ---
45
+
46
+ ## Abstract
47
+
48
+ The variable Counter arguments scores denotes the best estimate of the extent to which political elites acknowledge and respect counterarguments when considering important policy changes.
49
+
50
+ Higher scores mean more respect.
51
+
52
+ Each row in this dataset represents tabular records. Data was last updated on OpenAfrica on 2023-01-27. Geographic scope: **BENIN, BOTSWANA, CAPE-VERDE, ETHIOPIA, KENYA, NIGERIA, SENEGAL, SOUTH-AFRICA, and 4 others**.
53
+
54
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
55
+
56
+ ---
57
+
58
+ ## Dataset Characteristics
59
+
60
+ | | |
61
+ |---|---|
62
+ | **Domain** | Humanitarian and development data |
63
+ | **Unit of observation** | Tabular records |
64
+ | **Rows (total)** | 1,302 |
65
+ | **Columns** | 5 (2 numeric, 3 categorical, 0 datetime) |
66
+ | **Train split** | 1,041 rows |
67
+ | **Test split** | 260 rows |
68
+ | **Geographic scope** | BENIN, BOTSWANA, CAPE-VERDE, ETHIOPIA, KENYA, NIGERIA, SENEGAL, SOUTH-AFRICA, and 4 others |
69
+ | **Publisher** | V-Dem Institute |
70
+ | **OpenAfrica last updated** | 2023-01-27 |
71
+
72
+ ---
73
+
74
+ ## Variables
75
+
76
+ **Outcome / Measurement** — `respect_of_counterarguments_1900_2021` (Benin, Botswana, Cape Verde).
77
+
78
+ **Identifier / Metadata** — `unnamed_1` (range 1900.0–2021.0), `unnamed_2` (range -2.231–3.012), `esa_source` (HDX), `esa_processed` (2026-04-28).
79
+
80
+ ---
81
+
82
+ ## Quick Start
83
+
84
+ ```python
85
+ from datasets import load_dataset
86
+
87
+ ds = load_dataset("electricsheepafrica/africa-respect-of-counteraguments-1900-2021")
88
+ train = ds["train"].to_pandas()
89
+ test = ds["test"].to_pandas()
90
+
91
+ print(train.shape)
92
+ train.head()
93
+ ```
94
+
95
+ ---
96
+
97
+ ## Schema
98
+
99
+ | Column | Type | Null % | Range / Sample Values |
100
+ |---|---|---|---|
101
+ | `respect_of_counterarguments_1900_2021` | object | 0.1% | Benin, Botswana, Cape Verde |
102
+ | `unnamed_1` | float64 | 0.2% | 1900.0 – 2021.0 (mean 1962.3156) |
103
+ | `unnamed_2` | float64 | 0.2% | -2.231 – 3.012 (mean -0.1563) |
104
+ | `esa_source` | object | 0.0% | HDX |
105
+ | `esa_processed` | object | 0.0% | 2026-04-28 |
106
+
107
+ ---
108
+
109
+ ## Numeric Summary
110
+
111
+ | Column | Min | Max | Mean | Median |
112
+ |---|---|---|---|---|
113
+ | `unnamed_1` | 1900.0 | 2021.0 | 1962.3156 | 1962.0 |
114
+ | `unnamed_2` | -2.231 | 3.012 | -0.1563 | -0.221 |
115
+
116
+ ---
117
+
118
+ ## Curation
119
+
120
+ Raw data was downloaded from OpenAfrica 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`. 2 column(s) were cast from string to numeric or datetime based on parse-success rate (>85% threshold). The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
121
+
122
+ ---
123
+
124
+ ## Limitations
125
+
126
+ - Data originates from V-Dem Institute and has not been independently validated by ESA.
127
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
128
+ - This dataset spans 12 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
129
+ - Refer to the [original HDX dataset page](https://open.africa/dataset/respect-of-counteraguments-1900-2021) for the publisher's own methodology notes and caveats.
130
+
131
+ ---
132
+
133
+ ## Citation
134
+
135
+ ```bibtex
136
+ @dataset{openafrica_africa_respect_of_counteraguments_1900_2021,
137
+ title = {Respect of Counterarguments (1900-2021)},
138
+ author = {V-Dem Institute},
139
+ year = {2023},
140
+ url = {https://open.africa/dataset/respect-of-counteraguments-1900-2021},
141
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
142
+ }
143
+ ```
144
+
145
+ ---
146
+
147
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*