Kossisoroyce commited on
Commit
f8c27b9
·
verified ·
1 Parent(s): d7c34df

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +159 -38
README.md CHANGED
@@ -1,42 +1,163 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: region
5
- dtype: string
6
- - name: country_code
7
- dtype: string
8
- - name: country
9
- dtype: string
10
- - name: response
11
- dtype: string
12
- - name: freq
13
- dtype: float64
14
- - name: n
15
- dtype: float64
16
- - name: prop
17
- dtype: float64
18
- - name: pct
19
- dtype: float64
20
- - name: variable
21
- dtype: string
22
- - name: esa_source
23
- dtype: string
24
- - name: esa_processed
25
- dtype: string
26
  splits:
27
- - name: train
28
- num_bytes: 592128
29
- num_examples: 4112
30
- - name: test
31
- num_bytes: 148091
32
- num_examples: 1028
33
- download_size: 218406
34
- dataset_size: 740219
35
- configs:
36
- - config_name: default
37
- data_files:
38
- - split: train
39
- path: data/train-*
40
- - split: test
41
- path: data/test-*
42
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license: other
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
+ - climate-weather
25
+ - environment
26
+ - alb
27
+ - dza
28
+ - asm
29
+ - ago
30
+ - aia
31
+ pretty_name: "Climate Change Opinion Survey"
32
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  splits:
34
+ - name: train
35
+ num_examples: 4112
36
+ - name: test
37
+ num_examples: 1028
 
 
 
 
 
 
 
 
 
 
 
38
  ---
39
+
40
+ # Climate Change Opinion Survey
41
+
42
+ **Publisher:** AI for Good at Meta · **Source:** [HDX](https://data.humdata.org/dataset/climate-change-opinion-survey) · **License:** `other-pd-nr` · **Updated:** 2026-03-26
43
+
44
+ ---
45
+
46
+ ## Abstract
47
+
48
+ In partnership with Yale, Meta launched a climate change opinion survey that explores public climate change knowledge, attitudes, policy preferences, and behaviors. 2023 aggregated survey responses now available.
49
+
50
+ The 2022 survey includes respondents from nearly 200 countries and territories. We are sharing country level data from this survey, providing policymakers, research institutions, and nonprofits with an international view of public climate change opinion.
51
+
52
+ For more information please see https://ai.meta.com/ai-for-good/datasets/climate-change-opinion-survey/
53
+
54
+ If you're interested in becoming a research partner and accessing record level data, please email aiforgood@meta.com.
55
+
56
+ Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-03-26. Geographic scope: **ALB, DZA, ASM, AGO, AIA, ATG, ARG, ARM, and 185 others**.
57
+
58
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
59
+
60
+ ---
61
+
62
+ ## Dataset Characteristics
63
+
64
+ | | |
65
+ |---|---|
66
+ | **Domain** | Climate and environment |
67
+ | **Unit of observation** | First-level administrative unit observations |
68
+ | **Rows (total)** | 5,140 |
69
+ | **Columns** | 11 (4 numeric, 7 categorical, 0 datetime) |
70
+ | **Train split** | 4,112 rows |
71
+ | **Test split** | 1,028 rows |
72
+ | **Geographic scope** | ALB, DZA, ASM, AGO, AIA, ATG, ARG, ARM, and 185 others |
73
+ | **Publisher** | AI for Good at Meta |
74
+ | **HDX last updated** | 2026-03-26 |
75
+
76
+ ---
77
+
78
+ ## Variables
79
+
80
+ **Geographic** — `region` (Europe, Asia, Southwest Asia & North Africa), `country_code` (hk, jp, no), `country` (Hong Kong, Japan, Norway).
81
+
82
+ **Outcome / Measurement** — `pct` (range 0.0–86.5244).
83
+
84
+ **Identifier / Metadata** — `esa_source` (HDX), `esa_processed` (2026-04-04).
85
+
86
+ **Other** — `response` (I have not done this, I have done this, Not applicable), `freq` (range 0.0–2155.7138), `n` (range 12.4363–2836.0), `prop` (range 0.0–0.8652), `variable` (barriers_heatpump_haventadopted, barriers_ev_haventadopted, barriers_solar_haventadopted).
87
+
88
+ ---
89
+
90
+ ## Quick Start
91
+
92
+ ```python
93
+ from datasets import load_dataset
94
+
95
+ ds = load_dataset("electricsheepafrica/africa-climate-change-opinion-survey")
96
+ train = ds["train"].to_pandas()
97
+ test = ds["test"].to_pandas()
98
+
99
+ print(train.shape)
100
+ train.head()
101
+ ```
102
+
103
+ ---
104
+
105
+ ## Schema
106
+
107
+ | Column | Type | Null % | Range / Sample Values |
108
+ |---|---|---|---|
109
+ | `region` | object | 0.0% | Europe, Asia, Southwest Asia & North Africa |
110
+ | `country_code` | object | 0.0% | hk, jp, no |
111
+ | `country` | object | 0.0% | Hong Kong, Japan, Norway |
112
+ | `response` | object | 0.0% | I have not done this, I have done this, Not applicable |
113
+ | `freq` | float64 | 0.0% | 0.0 – 2155.7138 (mean 100.6589) |
114
+ | `n` | float64 | 0.0% | 12.4363 – 2836.0 (mean 608.2886) |
115
+ | `prop` | float64 | 0.0% | 0.0 – 0.8652 (mean 0.1557) |
116
+ | `pct` | float64 | 0.0% | 0.0 – 86.5244 (mean 15.5693) |
117
+ | `variable` | object | 0.0% | barriers_heatpump_haventadopted, barriers_ev_haventadopted, barriers_solar_haventadopted |
118
+ | `esa_source` | object | 0.0% | HDX |
119
+ | `esa_processed` | object | 0.0% | 2026-04-04 |
120
+
121
+ ---
122
+
123
+ ## Numeric Summary
124
+
125
+ | Column | Min | Max | Mean | Median |
126
+ |---|---|---|---|---|
127
+ | `freq` | 0.0 | 2155.7138 | 100.6589 | 39.2444 |
128
+ | `n` | 12.4363 | 2836.0 | 608.2886 | 551.0772 |
129
+ | `prop` | 0.0 | 0.8652 | 0.1557 | 0.0955 |
130
+ | `pct` | 0.0 | 86.5244 | 15.5693 | 9.5545 |
131
+
132
+ ---
133
+
134
+ ## Curation
135
+
136
+ 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.
137
+
138
+ ---
139
+
140
+ ## Limitations
141
+
142
+ - Data originates from AI for Good at Meta and has not been independently validated by ESA.
143
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
144
+ - This dataset spans 193 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
145
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/climate-change-opinion-survey) for the publisher's own methodology notes and caveats.
146
+
147
+ ---
148
+
149
+ ## Citation
150
+
151
+ ```bibtex
152
+ @dataset{hdx_africa_climate_change_opinion_survey,
153
+ title = {Climate Change Opinion Survey},
154
+ author = {AI for Good at Meta},
155
+ year = {2026},
156
+ url = {https://data.humdata.org/dataset/climate-change-opinion-survey},
157
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
158
+ }
159
+ ```
160
+
161
+ ---
162
+
163
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*