Kossisoroyce commited on
Commit
e61ec09
·
verified ·
1 Parent(s): e8539e5

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: odbl
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - xlsx
14
+ - africa
15
+ - morocco
16
+ - official-statistics
17
+ - open-data
18
+ pretty_name: "Taux de chômage selon le Milieu, le sexe et le groupe d'âges | Africa (Morocco official open data)"
19
+ ---
20
+
21
+ # Taux de chômage selon le Milieu, le sexe et le groupe d'âges | Africa (Morocco official open data)
22
+
23
+ 49 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
24
+
25
+ ![rows](https://img.shields.io/badge/rows-49-blue)
26
+ ![countries](https://img.shields.io/badge/countries-1-green)
27
+ ![years](https://img.shields.io/badge/years-not-applicable-orange)
28
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
29
+ ![license](https://img.shields.io/badge/license-odbl-lightgrey)
30
+
31
+ ## TL;DR
32
+
33
+ This dataset packages one official `XLSX` resource from **Morocco** as
34
+ ML-ready Parquet. The source file is the provenance boundary; all usable
35
+ indicators or tabular columns from the resource stay together in this repo.
36
+
37
+ ## About the source
38
+
39
+ - **Source:** [Taux de chômage selon le Milieu, le sexe et le groupe d'âges](https://data.gov.ma/data/dataset/data_1_2)
40
+ - **Publisher:** HCP
41
+ - **Resource:** [I_1.2.xlsx](https://data.gov.ma/data/dataset/16ee67b5-dbaa-41c5-b9fa-103832ed7ba9/resource/78cc5cb9-e0bd-4f54-93a7-7118ccbf1c8c/download/i_1.2.xlsx)
42
+ - **Format:** `XLSX`
43
+ - **License:** [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/)
44
+ - **Packaging mode:** `tabular_resource`
45
+
46
+ ## Geographic coverage
47
+
48
+ 1 Africa country:
49
+
50
+ | Country | Rows | First year | Last year | Name |
51
+ |---------|-----:|-----------:|----------:|------|
52
+ | `MAR` | 49 | n/a | n/a | `Morocco` |
53
+
54
+ ## Indicators or Resource Contents
55
+
56
+ - This source file is packaged as a normalized tabular resource.
57
+
58
+ ## Schema
59
+
60
+ | Column | Type | Description | Example |
61
+ |--------|------|-------------|---------|
62
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `78cc5cb9-e0bd-4f54-93a7-7118ccbf1c8c:data:0` |
63
+ | `country_iso3` | `string` | ISO3 country code. | `MAR` |
64
+ | `country_name` | `string` | Country name. | `Morocco` |
65
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Data` |
66
+ | `mileu` | `string` | Source column. | `National` |
67
+ | `sexe` | `string` | Source column. | `Total` |
68
+ | `age` | `string` | Source column. | `15 ans et plus` |
69
+ | `2014` | `float64` | Source column. | `9.9` |
70
+ | `2015` | `float64` | Source column. | `9.7` |
71
+ | `2016` | `float64` | Source column. | `9.4` |
72
+ | `2017` | `float64` | Source column. | `10.2` |
73
+ | `2018` | `float64` | Source column. | `9.5` |
74
+ | `2019` | `float64` | Source column. | `9.2` |
75
+ | `2020` | `float64` | Source column. | `11.9` |
76
+ | `2021` | `float64` | Source column. | `12.3` |
77
+ | `2022` | `float64` | Source column. | `11.8` |
78
+ | `2023` | `float64` | Source column. | `13.0` |
79
+ | `source_provider` | `string` | Publishing organization. | `HCP` |
80
+ | `source_dataset` | `string` | Source package title. | `Taux de chômage selon le Milieu, le sexe et le groupe d'âges` |
81
+ | `source_resource` | `string` | Source resource title. | `I_1.2.xlsx` |
82
+ | `source_package_id` | `string` | CKAN package UUID. | `16ee67b5-dbaa-41c5-b9fa-103832ed7ba9` |
83
+ | `source_resource_id` | `string` | CKAN resource UUID. | `78cc5cb9-e0bd-4f54-93a7-7118ccbf1c8c` |
84
+ | `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/dataset/16ee67b5-dbaa-41c5-b9fa-103832ed7ba9/re` |
85
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
86
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T21:31:48Z` |
87
+ | `l_indicateur` | `string` | Source column. | `` |
88
+ | `taux_de_chomage_selon_le_milieu_le_sexe_et_le_groupe_d_a` | `string` | Source column. | `` |
89
+
90
+ ## Usage
91
+
92
+ ```python
93
+ from datasets import load_dataset
94
+
95
+ ds = load_dataset("electricsheepafrica/africa-morocco-taux-de-chomage-selon-le-milieu-le-sexe-et-le-groupe-d-age-2228cd0f")
96
+ df = ds["train"].to_pandas()
97
+ print(df.head())
98
+ ```
99
+
100
+ ### Filter to one country
101
+
102
+ ```python
103
+ sample_country = df[df["country_iso3"] == "MAR"]
104
+ ```
105
+
106
+ ### Work with indicators
107
+
108
+ ```python
109
+ if "indicator_id" in df.columns:
110
+ print(df["indicator_id"].value_counts().head())
111
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
112
+ ```
113
+
114
+ ## Citation
115
+
116
+ ```bibtex
117
+ @misc{electric_sheep_africa_africa_morocco_taux_de_chomage_selon_le_milieu_le_sexe_et_le_groupe_d_age_2228cd_2026,
118
+ title = {Taux de chômage selon le Milieu, le sexe et le groupe d'âges | Africa (Morocco official open data)},
119
+ author = {HCP},
120
+ year = {2026},
121
+ url = {https://data.gov.ma/data/dataset/data_1_2},
122
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
123
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-taux-de-chomage-selon-le-milieu-le-sexe-et-le-groupe-d-age-2228cd0f}}
124
+ }
125
+ ```
126
+
127
+ ## License
128
+
129
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
130
+
131
+ Original data (c) HCP. When using this dataset, please cite both the
132
+ original source above and the Electric Sheep Africa repackaging.
133
+
134
+ ## About Electric Sheep
135
+
136
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
137
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
138
+ open sources, normalize the schemas, package as Parquet, and publish with
139
+ consistent dataset cards so researchers and developers can use `load_dataset()`
140
+ to start working in seconds.
141
+
142
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
143
+
144
+ ---
145
+
146
+ Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
147
+ https://data.gov.ma/data/dataset/16ee67b5-dbaa-41c5-b9fa-103832ed7ba9/resource/78cc5cb9-e0bd-4f54-93a7-7118ccbf1c8c/download/i_1.2.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f804382ae33b23c25af6e413dc3ee4a60adadd1ae5569d3116e1e564ef6a4c42
3
+ size 19464
metadata/source_snapshot.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "mileu",
8
+ "sexe",
9
+ "age",
10
+ "2014",
11
+ "2015",
12
+ "2016",
13
+ "2017",
14
+ "2018",
15
+ "2019",
16
+ "2020",
17
+ "2021",
18
+ "2022",
19
+ "2023",
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
+ "l_indicateur",
29
+ "taux_de_chomage_selon_le_milieu_le_sexe_et_le_groupe_d_a"
30
+ ],
31
+ "generated_at": "2026-07-16T21:45:39Z",
32
+ "indicator_count": 0,
33
+ "mode": "tabular_resource",
34
+ "repo_id": "electricsheepafrica/africa-morocco-taux-de-chomage-selon-le-milieu-le-sexe-et-le-groupe-d-age-2228cd0f",
35
+ "rows": 49,
36
+ "source": {
37
+ "api_base_url": "https://data.gov.ma/data",
38
+ "country_iso3": "MAR",
39
+ "country_name": "Morocco",
40
+ "group_names": "emploi",
41
+ "license_id": "odc-odbl",
42
+ "license_title": "Open Data Commons Open Database License (ODbL)",
43
+ "license_url": "https://opendefinition.org/licenses/odc-odbl",
44
+ "organization_id": "0ebe0358-0132-4306-8775-14ce6d08573d",
45
+ "organization_name": "haut-commissariat-au-plan",
46
+ "organization_title": "HCP",
47
+ "package_author": "HCP",
48
+ "package_id": "16ee67b5-dbaa-41c5-b9fa-103832ed7ba9",
49
+ "package_maintainer": "SBDS",
50
+ "package_metadata_created": "2025-02-06T12:13:34.761575",
51
+ "package_metadata_modified": "2025-02-06T12:13:35.477783",
52
+ "package_name": "data_1_2",
53
+ "package_notes": "Pour plus d'information consulter la BDS en ligne: https://bds.hcp.ma",
54
+ "package_page_url": "https://data.gov.ma/data/dataset/data_1_2",
55
+ "package_private": "False",
56
+ "package_state": "active",
57
+ "package_title": "Taux de chômage selon le Milieu, le sexe et le groupe d'âges",
58
+ "package_version": "",
59
+ "portal_url": "https://data.gov.ma/data",
60
+ "resource_created": "2025-02-06T12:13:35.488070",
61
+ "resource_datastore_active": "False",
62
+ "resource_description": "",
63
+ "resource_format": "XLSX",
64
+ "resource_hash": "",
65
+ "resource_id": "78cc5cb9-e0bd-4f54-93a7-7118ccbf1c8c",
66
+ "resource_last_modified": "2025-02-06T12:13:35.462714",
67
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
68
+ "resource_name": "I_1.2.xlsx",
69
+ "resource_position": "1",
70
+ "resource_size": "10857",
71
+ "resource_state": "active",
72
+ "resource_url": "https://data.gov.ma/data/dataset/16ee67b5-dbaa-41c5-b9fa-103832ed7ba9/resource/78cc5cb9-e0bd-4f54-93a7-7118ccbf1c8c/download/i_1.2.xlsx",
73
+ "retrieved_at": "2026-07-16T17:56:59Z",
74
+ "tag_names": ""
75
+ },
76
+ "year_max": null,
77
+ "year_min": null
78
+ }