Kossisoroyce commited on
Commit
15d99d0
·
verified ·
1 Parent(s): efc2057

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +195 -118
README.md CHANGED
@@ -1,122 +1,199 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: indicator
5
- dtype: string
6
- - name: '1970'
7
- dtype: float64
8
- - name: '1971'
9
- dtype: float64
10
- - name: '1972'
11
- dtype: float64
12
- - name: '1973'
13
- dtype: float64
14
- - name: '1974'
15
- dtype: float64
16
- - name: '1975'
17
- dtype: float64
18
- - name: '1976'
19
- dtype: float64
20
- - name: '1977'
21
- dtype: float64
22
- - name: '1978'
23
- dtype: float64
24
- - name: '1979'
25
- dtype: float64
26
- - name: '1980'
27
- dtype: float64
28
- - name: '1981'
29
- dtype: float64
30
- - name: '1982'
31
- dtype: string
32
- - name: '1983'
33
- dtype: string
34
- - name: '1984'
35
- dtype: string
36
- - name: '1985'
37
- dtype: string
38
- - name: '1986'
39
- dtype: string
40
- - name: '1987'
41
- dtype: string
42
- - name: '1988'
43
- dtype: string
44
- - name: '1989'
45
- dtype: string
46
- - name: '1990'
47
- dtype: float64
48
- - name: '1991'
49
- dtype: string
50
- - name: '1992'
51
- dtype: string
52
- - name: '1993'
53
- dtype: string
54
- - name: '1994'
55
- dtype: string
56
- - name: '1995'
57
- dtype: float64
58
- - name: '1996'
59
- dtype: string
60
- - name: '1997'
61
- dtype: string
62
- - name: '1998'
63
- dtype: string
64
- - name: '1999'
65
- dtype: string
66
- - name: '2000'
67
- dtype: float64
68
- - name: '2001'
69
- dtype: string
70
- - name: '2002'
71
- dtype: string
72
- - name: '2003'
73
- dtype: string
74
- - name: '2004'
75
- dtype: string
76
- - name: '2005'
77
- dtype: string
78
- - name: '2006'
79
- dtype: string
80
- - name: '2007'
81
- dtype: string
82
- - name: '2008'
83
- dtype: string
84
- - name: '2009'
85
- dtype: string
86
- - name: '2010'
87
- dtype: string
88
- - name: '2011'
89
- dtype: string
90
- - name: '2012'
91
- dtype: string
92
- - name: '2013'
93
- dtype: string
94
- - name: '2014'
95
- dtype: string
96
- - name: '2015'
97
- dtype: string
98
- - name: '2016'
99
- dtype: string
100
- - name: '2017'
101
- dtype: string
102
- - name: esa_source
103
- dtype: string
104
- - name: esa_processed
105
- dtype: string
106
  splits:
107
- - name: train
108
- num_bytes: 13610
109
- num_examples: 33
110
- - name: test
111
- num_bytes: 3632
112
- num_examples: 9
113
- download_size: 45640
114
- dataset_size: 17242
115
- configs:
116
- - config_name: default
117
- data_files:
118
- - split: train
119
- path: data/train-*
120
- - split: test
121
- path: data/test-*
122
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - n<1K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-regression
17
+ task_ids: []
18
+ tags:
19
+ - africa
20
+ - humanitarian
21
+ - hdx
22
+ - electric-sheep-africa
23
+ - baseline-population
24
+ - migration
25
+ - caf
26
+ pretty_name: "CENTRAL AFRICAN REPUBLIC - Population and migration indicators, UNECA"
27
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  splits:
29
+ - name: train
30
+ num_examples: 33
31
+ - name: test
32
+ num_examples: 8
 
 
 
 
 
 
 
 
 
 
 
33
  ---
34
+
35
+ # CENTRAL AFRICAN REPUBLIC - Population and migration indicators, UNECA
36
+
37
+ **Publisher:** United Nations Economic Commission for Africa · **Source:** [HDX](https://data.humdata.org/dataset/central-african-republic-uneca-population-and-migration) · **License:** `cc-by-igo` · **Updated:** 2024-09-13
38
+
39
+ ---
40
+
41
+ ## Abstract
42
+
43
+ This dataset contains many indicators related to population and migration such as Average annual population growth rate, Population 15-19 , Annual rate of change of the migrant stock, International migrant stock at mid-year, etc. The whole list and their description can be find in this link https://bit.ly/2ODhFQh
44
+
45
+ Each row in this dataset represents tabular records. Data was last updated on HDX on 2024-09-13. Geographic scope: **CAF**.
46
+
47
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
48
+
49
+ ---
50
+
51
+ ## Dataset Characteristics
52
+
53
+ | | |
54
+ |---|---|
55
+ | **Domain** | Demographics and population |
56
+ | **Unit of observation** | Tabular records |
57
+ | **Rows (total)** | 42 |
58
+ | **Columns** | 51 (15 numeric, 36 categorical, 0 datetime) |
59
+ | **Train split** | 33 rows |
60
+ | **Test split** | 8 rows |
61
+ | **Geographic scope** | CAF |
62
+ | **Publisher** | United Nations Economic Commission for Africa |
63
+ | **HDX last updated** | 2024-09-13 |
64
+
65
+ ---
66
+
67
+ ## Variables
68
+
69
+ **Identifier / Metadata** — `esa_source`, `esa_processed`.
70
+
71
+ **Other** — `indicator` (Average annual population growth rate - Total (%), Net reproduction rate (per woman), Life expectancy at birth - Total (years)), `1970` (range 1.8–930.1), `1971` (range 1.9–948.5), `1972` (range 1.9–966.8), `1973` (range 1.9–985.6) and 44 others.
72
+
73
+ ---
74
+
75
+ ## Quick Start
76
+
77
+ ```python
78
+ from datasets import load_dataset
79
+
80
+ ds = load_dataset("electricsheepafrica/africa-central-african-republic-uneca-population-and-migration")
81
+ train = ds["train"].to_pandas()
82
+ test = ds["test"].to_pandas()
83
+
84
+ print(train.shape)
85
+ train.head()
86
+ ```
87
+
88
+ ---
89
+
90
+ ## Schema
91
+
92
+ | Column | Type | Null % | Range / Sample Values |
93
+ |---|---|---|---|
94
+ | `indicator` | object | 0.0% | Average annual population growth rate - Total (%), Net reproduction rate (per woman), Life expectancy at birth - Total (years) |
95
+ | `1970` | float64 | 50.0% | 1.8 – 930.1 (mean 226.7286) |
96
+ | `1971` | float64 | 50.0% | 1.9 – 948.5 (mean 231.3762) |
97
+ | `1972` | float64 | 50.0% | 1.9 – 966.8 (mean 235.9476) |
98
+ | `1973` | float64 | 50.0% | 1.9 – 985.6 (mean 240.5333) |
99
+ | `1974` | float64 | 52.4% | 2.0 – 970.7 (mean 207.32) |
100
+ | `1975` | float64 | 52.4% | 2.0 – 991.0 (mean 211.51) |
101
+ | `1976` | float64 | 54.8% | 2.1 – 863.9 (mean 174.2368) |
102
+ | `1977` | float64 | 54.8% | 2.1 – 886.5 (mean 178.1105) |
103
+ | `1978` | float64 | 54.8% | 2.2 – 909.6 (mean 182.2) |
104
+ | `1979` | float64 | 54.8% | 2.2 – 934.1 (mean 186.5789) |
105
+ | `1980` | float64 | 54.8% | 2.3 – 960.7 (mean 191.3158) |
106
+ | `1981` | float64 | 54.8% | 2.3 – 990.7 (mean 196.5684) |
107
+ | `1982` | object | 47.6% | 3.0, 3.8, 99.0 |
108
+ | `1983` | object | 47.6% | 3.0, 3.8, 101.4 |
109
+ | `1984` | object | 47.6% | 2.8, 3.8, 103.6 |
110
+ | `1985` | object | 47.6% | 2.5, 2.8, 105.7 |
111
+ | `1986` | object | 47.6% | 2.3, 2.8, 108.5 |
112
+ | `1987` | object | 47.6% | 49.7, 2.8, 2.2 |
113
+ | `1988` | object | 47.6% | 2.8, 2.1, 606.7 |
114
+ | `1989` | object | 47.6% | 2.2, 2.8, 115.5 |
115
+ | `1990` | float64 | 14.3% | 1.3 – 793.1 (mean 100.3389) |
116
+ | `1991` | object | 47.6% | 2.5, 2.6, 120.9 |
117
+ | `1992` | object | 47.6% | |
118
+ | `1993` | object | 47.6% | |
119
+ | `1994` | object | 47.6% | |
120
+ | `1995` | float64 | 14.3% | 2.0 – 911.0 (mean 114.4417) |
121
+ | `1996` | object | 47.6% | |
122
+ | `1997` | object | 47.6% | |
123
+ | `1998` | object | 47.6% | |
124
+ | `1999` | object | 47.6% | |
125
+ | `2000` | float64 | 16.7% | 1.9 – 984.5 (mean 101.9486) |
126
+ | `2001` | object | 45.2% | |
127
+ | `2002` | object | 45.2% | |
128
+ | `2003` | object | 45.2% | |
129
+ | `2004` | object | 45.2% | |
130
+ | `2005` | object | 0.0% | |
131
+ | `2006` | object | 45.2% | |
132
+ | `2007` | object | 45.2% | |
133
+ | `2008` | object | 45.2% | |
134
+ | `2009` | object | 45.2% | |
135
+ | `2010` | object | 0.0% | |
136
+ | `2011` | object | 45.2% | |
137
+ | `2012` | object | 45.2% | |
138
+ | `2013` | object | 47.6% | |
139
+ | `2014` | object | 47.6% | |
140
+ | `2015` | object | 4.8% | |
141
+ | `2016` | object | 50.0% | |
142
+ | `2017` | object | 31.0% | |
143
+ | `esa_source` | object | 0.0% | |
144
+ | `esa_processed` | object | 0.0% | |
145
+
146
+ ---
147
+
148
+ ## Numeric Summary
149
+
150
+ | Column | Min | Max | Mean | Median |
151
+ |---|---|---|---|---|
152
+ | `1970` | 1.8 | 930.1 | 226.7286 | 43.1 |
153
+ | `1971` | 1.9 | 948.5 | 231.3762 | 43.0 |
154
+ | `1972` | 1.9 | 966.8 | 235.9476 | 43.6 |
155
+ | `1973` | 1.9 | 985.6 | 240.5333 | 44.6 |
156
+ | `1974` | 2.0 | 970.7 | 207.32 | 45.25 |
157
+ | `1975` | 2.0 | 991.0 | 211.51 | 46.1 |
158
+ | `1976` | 2.1 | 863.9 | 174.2368 | 46.6 |
159
+ | `1977` | 2.1 | 886.5 | 178.1105 | 47.3 |
160
+ | `1978` | 2.2 | 909.6 | 182.2 | 47.9 |
161
+ | `1979` | 2.2 | 934.1 | 186.5789 | 48.4 |
162
+ | `1980` | 2.3 | 960.7 | 191.3158 | 48.9 |
163
+ | `1981` | 2.3 | 990.7 | 196.5684 | 49.3 |
164
+ | `1990` | 1.3 | 793.1 | 100.3389 | 7.8 |
165
+ | `1995` | 2.0 | 911.0 | 114.4417 | 12.05 |
166
+ | `2000` | 1.9 | 984.5 | 101.9486 | 12.5 |
167
+
168
+ ---
169
+
170
+ ## Curation
171
+
172
+ 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`. 15 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.
173
+
174
+ ---
175
+
176
+ ## Limitations
177
+
178
+ - Data originates from United Nations Economic Commission for Africa and has not been independently validated by ESA.
179
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
180
+ - The following columns have >20% missing values and should be treated with caution in modelling: `1970`, `1971`, `1972`, `1973`, `1974`, `1975`, `1976`, `1977`....
181
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/central-african-republic-uneca-population-and-migration) for the publisher's own methodology notes and caveats.
182
+
183
+ ---
184
+
185
+ ## Citation
186
+
187
+ ```bibtex
188
+ @dataset{hdx_africa_central_african_republic_uneca_population_and_migration,
189
+ title = {CENTRAL AFRICAN REPUBLIC - Population and migration indicators, UNECA},
190
+ author = {United Nations Economic Commission for Africa},
191
+ year = {2024},
192
+ url = {https://data.humdata.org/dataset/central-african-republic-uneca-population-and-migration},
193
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
194
+ }
195
+ ```
196
+
197
+ ---
198
+
199
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*