Kossisoroyce commited on
Commit
77f0703
·
verified ·
1 Parent(s): c4f1742

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +152 -50
README.md CHANGED
@@ -1,54 +1,156 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: country_i_fr_name
5
- dtype: string
6
- - name: country_code_v_pcode
7
- dtype: string
8
- - name: shape_length
9
- dtype: float64
10
- - name: shape_area
11
- dtype: float64
12
- - name: country_code_v_pcode_alpha3
13
- dtype: string
14
- - name: adm1_i_fr_name
15
- dtype: string
16
- - name: adm1_code_v_pcode
17
- dtype: string
18
- - name: adm1_code_v_pcode_alpha3
19
- dtype: string
20
- - name: adm2_i_fr_name
21
- dtype: string
22
- - name: adm2_code_v_pcode
23
- dtype: string
24
- - name: adm2_code_v_pcode_alpha3
25
- dtype: string
26
- - name: adm3_i_fr_name
27
- dtype: string
28
- - name: adm3_code_v_pcode
29
- dtype: string
30
- - name: adm3_code_v_pcode_alpha3
31
- dtype: string
32
- - name: date_start
33
- dtype: timestamp[ns]
34
- - name: esa_source
35
- dtype: string
36
- - name: esa_processed
37
- dtype: string
38
  splits:
39
- - name: train
40
- num_bytes: 107225
41
- num_examples: 664
42
- - name: test
43
- num_bytes: 26738
44
- num_examples: 166
45
- download_size: 51665
46
- dataset_size: 133963
47
- configs:
48
- - config_name: default
49
- data_files:
50
- - split: train
51
- path: data/train-*
52
- - split: test
53
- path: data/test-*
54
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-classification
17
+ - other
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - geodata
25
+ - hxl
26
+ - mli
27
+ pretty_name: "Mali Qlik Sense Template-COD"
28
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  splits:
30
+ - name: train
31
+ num_examples: 664
32
+ - name: test
33
+ num_examples: 166
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
+
36
+ # Mali Qlik Sense Template-COD
37
+
38
+ **Publisher:** ITOS (inactive) · **Source:** [HDX](https://data.humdata.org/dataset/qlik-sense-template-cod-mli) · **License:** `cc-by` · **Updated:** 2025-05-22
39
+
40
+ ---
41
+
42
+ ## Abstract
43
+
44
+ (Beta) Qlik Sense COD template app and its source data including the administrative hierarchy table and geographical data (KML). The KML files in this data set are optimized for Qlik Sense and are not the substitute for the original COD data sets used in the GIS applications. To see the differences, refer CAVEATS/COMMENTS in the Metadata. The data set is currently under the user acceptance testing phase.
45
+
46
+ Each row in this dataset represents country-level aggregates. Temporal coverage is indicated by the `date_start` column(s). Geographic scope: **MLI**.
47
+
48
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
49
+
50
+ ---
51
+
52
+ ## Dataset Characteristics
53
+
54
+ | | |
55
+ |---|---|
56
+ | **Domain** | Humanitarian and development data |
57
+ | **Unit of observation** | Country-level aggregates |
58
+ | **Rows (total)** | 830 |
59
+ | **Columns** | 17 (2 numeric, 14 categorical, 1 datetime) |
60
+ | **Train split** | 664 rows |
61
+ | **Test split** | 166 rows |
62
+ | **Geographic scope** | MLI |
63
+ | **Publisher** | ITOS (inactive) |
64
+ | **HDX last updated** | 2025-05-22 |
65
+
66
+ ---
67
+
68
+ ## Variables
69
+
70
+ **Geographic** — `country_i_fr_name` (Mali), `country_code_v_pcode` (ML), `country_code_v_pcode_alpha3` (MLI).
71
+
72
+ **Temporal** — `date_start`.
73
+
74
+ **Identifier / Metadata** — `adm1_i_fr_name` (Sikasso, Kayes, Segou), `adm1_code_v_pcode` (ML03, ML01, ML04), `adm1_code_v_pcode_alpha3` (MLI03, MLI01, MLI04), `adm2_i_fr_name` (Bamako, Sikasso, Kati), `adm2_code_v_pcode` (ML0901, ML0307, ML0205) and 6 others.
75
+
76
+ **Other** — `shape_length` (range 0.011–70.3383), `shape_area` (range 0.0–106.824).
77
+
78
+ ---
79
+
80
+ ## Quick Start
81
+
82
+ ```python
83
+ from datasets import load_dataset
84
+
85
+ ds = load_dataset("electricsheepafrica/africa-qlik-sense-template-cod-mli")
86
+ train = ds["train"].to_pandas()
87
+ test = ds["test"].to_pandas()
88
+
89
+ print(train.shape)
90
+ train.head()
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Schema
96
+
97
+ | Column | Type | Null % | Range / Sample Values |
98
+ |---|---|---|---|
99
+ | `country_i_fr_name` | object | 0.0% | Mali |
100
+ | `country_code_v_pcode` | object | 0.0% | ML |
101
+ | `shape_length` | float64 | 0.0% | 0.011 – 70.3383 (mean 1.8163) |
102
+ | `shape_area` | float64 | 0.0% | 0.0 – 106.824 (mean 0.512) |
103
+ | `country_code_v_pcode_alpha3` | object | 0.0% | MLI |
104
+ | `adm1_i_fr_name` | object | 0.1% | Sikasso, Kayes, Segou |
105
+ | `adm1_code_v_pcode` | object | 0.1% | ML03, ML01, ML04 |
106
+ | `adm1_code_v_pcode_alpha3` | object | 0.1% | MLI03, MLI01, MLI04 |
107
+ | `adm2_i_fr_name` | object | 1.1% | Bamako, Sikasso, Kati |
108
+ | `adm2_code_v_pcode` | object | 1.1% | ML0901, ML0307, ML0205 |
109
+ | `adm2_code_v_pcode_alpha3` | object | 1.1% | MLI0901, MLI0307, MLI0205 |
110
+ | `adm3_i_fr_name` | object | 7.0% | Commune III, Commune VI, Commune II |
111
+ | `adm3_code_v_pcode` | object | 7.0% | |
112
+ | `adm3_code_v_pcode_alpha3` | object | 7.0% | |
113
+ | `date_start` | datetime64[ns] | 0.0% | |
114
+ | `esa_source` | object | 0.0% | |
115
+ | `esa_processed` | object | 0.0% | |
116
+
117
+ ---
118
+
119
+ ## Numeric Summary
120
+
121
+ | Column | Min | Max | Mean | Median |
122
+ |---|---|---|---|---|
123
+ | `shape_length` | 0.011 | 70.3383 | 1.8163 | 0.9379 |
124
+ | `shape_area` | 0.0 | 106.824 | 0.512 | 0.037 |
125
+
126
+ ---
127
+
128
+ ## Curation
129
+
130
+ 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`. 3 column(s) with >80% missing values were removed: `adm4_code_v_pcode`, `adm4_code_v_pcode_alpha3`, `adm4_i_fr_name`. 1 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.
131
+
132
+ ---
133
+
134
+ ## Limitations
135
+
136
+ - Data originates from ITOS (inactive) and has not been independently validated by ESA.
137
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
138
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/qlik-sense-template-cod-mli) for the publisher's own methodology notes and caveats.
139
+
140
+ ---
141
+
142
+ ## Citation
143
+
144
+ ```bibtex
145
+ @dataset{hdx_africa_qlik_sense_template_cod_mli,
146
+ title = {Mali Qlik Sense Template-COD},
147
+ author = {ITOS (inactive)},
148
+ year = {2025},
149
+ url = {https://data.humdata.org/dataset/qlik-sense-template-cod-mli},
150
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
151
+ }
152
+ ```
153
+
154
+ ---
155
+
156
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*