Kossiesa commited on
Commit
98bbdcc
·
verified ·
1 Parent(s): 369459b

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-regression
7
+ - time-series-forecasting
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 10K<n<100K
11
+ tags:
12
+ - tabular
13
+ - csv
14
+ - africa
15
+ - mali
16
+ - official-statistics
17
+ - open-data
18
+ - population
19
+ configs:
20
+ - config_name: default
21
+ data_files:
22
+ - split: train
23
+ path: data/train-00000-of-00001.parquet
24
+ pretty_name: "Global - Subnational Population Statistics | Africa (Mali official open data)"
25
+ ---
26
+
27
+ # Global - Subnational Population Statistics | Africa (Mali official open data)
28
+
29
+ 18,981 rows - 1 Africa country - 2001-2025 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
30
+
31
+ ![rows](https://img.shields.io/badge/rows-18981-blue)
32
+ ![countries](https://img.shields.io/badge/countries-1-green)
33
+ ![years](https://img.shields.io/badge/years-2001-2025-orange)
34
+ ![indicators](https://img.shields.io/badge/indicators-3-purple)
35
+ ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
36
+
37
+ ## TL;DR
38
+
39
+ This dataset packages one official `CSV` resource from **Mali** 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:** [Global - Subnational Population Statistics](https://data.humdata.org/dataset/cod-ps-global)
46
+ - **Publisher:** HDX
47
+ - **Resource:** [cod_population_admin0.csv](https://data.humdata.org/dataset/27e3d1c6-c57a-4159-85a4-adb6b7aca6b9/resource/d4ea8fba-3d98-4d6e-85c8-84a5b0b4ebd9/download/cod_population_admin0.csv)
48
+ - **Format:** `CSV`
49
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
50
+ - **Packaging mode:** `indicator_long`
51
+
52
+ ## Geographic coverage
53
+
54
+ 1 Africa country:
55
+
56
+ | Country | Rows | First year | Last year | Name |
57
+ |---------|-----:|-----------:|----------:|------|
58
+ | `MLI` | 18,981 | 2001 | 2025 | `Mali` |
59
+
60
+ ## Indicators or Resource Contents
61
+
62
+ - `global-subnational-population-statistics-age-min-67749537` - Global - Subnational Population Statistics - age min
63
+ - `global-subnational-population-statistics-age-max-0d012c53` - Global - Subnational Population Statistics - age max
64
+ - `global-subnational-population-statistics-population-af4e0fd7` - Global - Subnational Population Statistics - population
65
+
66
+ ## Schema
67
+
68
+ | Column | Type | Description | Example |
69
+ |--------|------|-------------|---------|
70
+ | `indicator_id` | `string` | Stable indicator identifier. | `global-subnational-population-statistics-age-min-67749537` |
71
+ | `indicator_name` | `string` | Human-readable indicator name. | `Global - Subnational Population Statistics - age min` |
72
+ | `country_iso3` | `string` | ISO3 country code. | `MLI` |
73
+ | `country_name` | `string` | Country name. | `Mali` |
74
+ | `year` | `Int64` | Observation year. | `2021` |
75
+ | `value` | `float64` | Numeric observation value. | `0.0` |
76
+ | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
77
+ | `dimension_iso3` | `string` | Source dimension. | `AFG` |
78
+ | `dimension_country` | `string` | Source dimension. | `Afghanistan` |
79
+ | `dimension_population_group` | `string` | Source dimension. | `F_00_04` |
80
+ | `dimension_gender` | `string` | Source dimension. | `f` |
81
+ | `dimension_age_range` | `string` | Source dimension. | `0-4` |
82
+ | `dimension_source` | `string` | Source dimension. | `National Statistic and Information Authority (NSIA) Afghanistan` |
83
+ | `dimension_contributor` | `string` | Source dimension. | `OCHA Afghanistan` |
84
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `` |
85
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `` |
86
+ | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `` |
87
+ | `source_provider` | `category` | Publishing organization. | `HDX` |
88
+ | `source_dataset` | `category` | Source package title. | `Global - Subnational Population Statistics` |
89
+ | `source_resource` | `category` | Source resource title. | `cod_population_admin0.csv` |
90
+ | `source_package_id` | `category` | CKAN package UUID. | `27e3d1c6-c57a-4159-85a4-adb6b7aca6b9` |
91
+ | `source_resource_id` | `category` | CKAN resource UUID. | `d4ea8fba-3d98-4d6e-85c8-84a5b0b4ebd9` |
92
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/27e3d1c6-c57a-4159-85a4-adb6b7aca6b9/re` |
93
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
94
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-12T23:12:09Z` |
95
+
96
+ ## Usage
97
+
98
+ ```python
99
+ from datasets import load_dataset
100
+
101
+ ds = load_dataset("electricsheepafrica/africa-mali-global-subnational-population-statistics-b42041cc")
102
+ df = ds["train"].to_pandas()
103
+ print(df.head())
104
+ ```
105
+
106
+ ### Filter to one country
107
+
108
+ ```python
109
+ sample_country = df[df["country_iso3"] == "MLI"]
110
+ ```
111
+
112
+ ### Work with indicators
113
+
114
+ ```python
115
+ if "indicator_id" in df.columns:
116
+ print(df["indicator_id"].value_counts().head())
117
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
118
+ ```
119
+
120
+ ## Citation
121
+
122
+ ```bibtex
123
+ @misc{electric_sheep_africa_africa_mali_global_subnational_population_statistics_b42041cc_2025,
124
+ title = {Global - Subnational Population Statistics | Africa (Mali official open data)},
125
+ author = {HDX},
126
+ year = {2025},
127
+ url = {https://data.humdata.org/dataset/cod-ps-global},
128
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
129
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mali-global-subnational-population-statistics-b42041cc}}
130
+ }
131
+ ```
132
+
133
+ ## License
134
+
135
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
136
+
137
+ Original data (c) HDX. When using this dataset, please cite both the
138
+ original source above and the Electric Sheep Africa repackaging.
139
+
140
+ ## About Electric Sheep
141
+
142
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
143
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
144
+ open sources, normalize the schemas, package as Parquet, and publish with
145
+ consistent dataset cards so researchers and developers can use `load_dataset()`
146
+ to start working in seconds.
147
+
148
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
149
+
150
+ ---
151
+
152
+ Provenance: ingested 2026-08-13 via the Electric Sheep pipeline. Source URL:
153
+ https://data.humdata.org/dataset/27e3d1c6-c57a-4159-85a4-adb6b7aca6b9/resource/d4ea8fba-3d98-4d6e-85c8-84a5b0b4ebd9/download/cod_population_admin0.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a148107b1e0320fffb92099eb6cd9f837044db9657df0b13283305f7c6a56b
3
+ size 71869
metadata/source_snapshot.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "indicator_id",
4
+ "indicator_name",
5
+ "country_iso3",
6
+ "country_name",
7
+ "year",
8
+ "value",
9
+ "unit",
10
+ "dimension_iso3",
11
+ "dimension_country",
12
+ "dimension_population_group",
13
+ "dimension_gender",
14
+ "dimension_age_range",
15
+ "dimension_source",
16
+ "dimension_contributor",
17
+ "source_period_start_year",
18
+ "source_period_end_year",
19
+ "source_period_label",
20
+ "source_provider",
21
+ "source_dataset",
22
+ "source_resource",
23
+ "source_package_id",
24
+ "source_resource_id",
25
+ "source_url",
26
+ "license_id",
27
+ "retrieved_at"
28
+ ],
29
+ "generated_at": "2026-08-12T23:59:13Z",
30
+ "indicator_count": 3,
31
+ "mode": "indicator_long",
32
+ "repo_id": "electricsheepafrica/africa-mali-global-subnational-population-statistics-b42041cc",
33
+ "rows": 18981,
34
+ "source": {
35
+ "api_base_url": "https://data.humdata.org/api/3/action",
36
+ "country_iso3": "MLI",
37
+ "country_name": "Mali",
38
+ "group_names": "afg,alb,ago,aia,atg,arg,arm,abw,aze,bhs,bgd,brb,blz,ben,bmu,btn,bol,bwa,bra,vgb,bfa,bdi,cpv,khm,cmr,cym,caf,tcd,chl,col,com,cri,civ,cub,cuw,prk,cod,dom,ecu,egy,slv,eri,swz,eth,fji,guf,gab,gmb,geo,gha,grd,glp,gtm,gin,guy,hti,hnd,hun,idn,irn,irq,jam,kaz,ken,kir,kgz,lao,lso,lbr,mdg,mwi,mys,mdv,mli,mhl,mtq,mrt,mus,mex,fsm,mng,msr,mar,moz,mmr,nam,npl,nic,ner,nga,niu,pak,plw,pan,png,pry,per,phl,pol,qat,mda,rou,rwa,blm,kna,lca,maf,vct,stp,sau,sen,syc,sle,sxm,svk,slb,som,zaf,ssd,lka,pse,sdn,sur,tjk,tha,tls,tgo,tkl,ton,tto,tun,tca,tur,uga,tza,vir,ury,uzb,vut,ven,vnm,zmb,zwe",
39
+ "license_id": "cc-by",
40
+ "license_title": "Creative Commons Attribution International (CC BY)",
41
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
42
+ "organization_name": "hdx",
43
+ "organization_title": "HDX",
44
+ "package_id": "27e3d1c6-c57a-4159-85a4-adb6b7aca6b9",
45
+ "package_name": "cod-ps-global",
46
+ "package_notes": "Latest COD population statistics compiled at the admin level. The CSV files contain subnational p-codes, their corresponding administrative names, source organization, and reference dates where available. These are constructed from individual country level population files, which can be found using [this search](https://data.humdata.org/dataset/?dataseries_name=COD+-+Subnational+Population+Statistics) on HDX.",
47
+ "package_page_url": "https://data.humdata.org/dataset/cod-ps-global",
48
+ "package_title": "Global - Subnational Population Statistics",
49
+ "portal_url": "https://data.humdata.org",
50
+ "resource_description": "",
51
+ "resource_format": "CSV",
52
+ "resource_id": "d4ea8fba-3d98-4d6e-85c8-84a5b0b4ebd9",
53
+ "resource_last_modified": "2026-02-19T20:10:52.537341",
54
+ "resource_name": "cod_population_admin0.csv",
55
+ "resource_position": "0",
56
+ "resource_url": "https://data.humdata.org/dataset/27e3d1c6-c57a-4159-85a4-adb6b7aca6b9/resource/d4ea8fba-3d98-4d6e-85c8-84a5b0b4ebd9/download/cod_population_admin0.csv",
57
+ "tag_names": "baseline population,gender and age disaggregated data-gadd"
58
+ },
59
+ "year_max": 2025,
60
+ "year_min": 2001
61
+ }