CollosaAI commited on
Commit
e0b109f
·
verified ·
1 Parent(s): 1ba3951

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: "Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021. | Africa (Morocco official open data)"
19
+ ---
20
+
21
+ # Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021. | Africa (Morocco official open data)
22
+
23
+ 20 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
24
+
25
+ ![rows](https://img.shields.io/badge/rows-20-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:** [Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021.](https://data.gov.ma/data/dataset/chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-dans-la-region-de-draa-tafilalet-en-2021)
40
+ - **Publisher:** Centre Régional d'Investissement Drâa Tafilalet
41
+ - **Resource:** [Open Data - CRI DT 2021 v2.xlsx](https://data.gov.ma/data/fr/dataset/71174484-bf01-41ee-b515-15f65bfbe831/resource/ea17ccc7-df00-4db2-b333-69ee7b748c65/download/open-data-cri-dt-2021-v2.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` | 20 | 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. | `ea17ccc7-df00-4db2-b333-69ee7b748c65:sheet1: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. | `Sheet1` |
66
+ | `errachidia` | `string` | Source column. | `MIDELT` |
67
+ | `d_709002375_8` | `float64` | Source column. | `216549496.0` |
68
+ | `commerce` | `string` | Source column. | `Energie et Mines` |
69
+ | `d_43117000` | `float64` | Source column. | `1117445716.0` |
70
+ | `source_provider` | `string` | Publishing organization. | `Centre Régional d'Investissement Drâa Tafilalet` |
71
+ | `source_dataset` | `string` | Source package title. | `Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la régi` |
72
+ | `source_resource` | `string` | Source resource title. | `Open Data - CRI DT 2021 v2.xlsx` |
73
+ | `source_package_id` | `string` | CKAN package UUID. | `71174484-bf01-41ee-b515-15f65bfbe831` |
74
+ | `source_resource_id` | `string` | CKAN resource UUID. | `ea17ccc7-df00-4db2-b333-69ee7b748c65` |
75
+ | `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/fr/dataset/71174484-bf01-41ee-b515-15f65bfbe831` |
76
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
77
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T21:31:48Z` |
78
+
79
+ ## Usage
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+
84
+ ds = load_dataset("electricsheepafrica/africa-morocco-chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-8f8498f0")
85
+ df = ds["train"].to_pandas()
86
+ print(df.head())
87
+ ```
88
+
89
+ ### Filter to one country
90
+
91
+ ```python
92
+ sample_country = df[df["country_iso3"] == "MAR"]
93
+ ```
94
+
95
+ ### Work with indicators
96
+
97
+ ```python
98
+ if "indicator_id" in df.columns:
99
+ print(df["indicator_id"].value_counts().head())
100
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
101
+ ```
102
+
103
+ ## Citation
104
+
105
+ ```bibtex
106
+ @misc{electric_sheep_africa_africa_morocco_chiffres_relatifs_a_l_investissement_en_mad_et_a_l_emploi_8f8498f_2026,
107
+ title = {Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021. | Africa (Morocco official open data)},
108
+ author = {Centre Régional d'Investissement Drâa Tafilalet},
109
+ year = {2026},
110
+ url = {https://data.gov.ma/data/dataset/chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-dans-la-region-de-draa-tafilalet-en-2021},
111
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
112
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-8f8498f0}}
113
+ }
114
+ ```
115
+
116
+ ## License
117
+
118
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
119
+
120
+ Original data (c) Centre Régional d'Investissement Drâa Tafilalet. When using this dataset, please cite both the
121
+ original source above and the Electric Sheep Africa repackaging.
122
+
123
+ ## About Electric Sheep
124
+
125
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
126
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
127
+ open sources, normalize the schemas, package as Parquet, and publish with
128
+ consistent dataset cards so researchers and developers can use `load_dataset()`
129
+ to start working in seconds.
130
+
131
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
132
+
133
+ ---
134
+
135
+ Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
136
+ https://data.gov.ma/data/fr/dataset/71174484-bf01-41ee-b515-15f65bfbe831/resource/ea17ccc7-df00-4db2-b333-69ee7b748c65/download/open-data-cri-dt-2021-v2.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:853498d038a070720055638fd6bab4044a77df058ad9709b231eb43f6dd80f2e
3
+ size 12916
metadata/source_snapshot.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "errachidia",
8
+ "d_709002375_8",
9
+ "commerce",
10
+ "d_43117000",
11
+ "source_provider",
12
+ "source_dataset",
13
+ "source_resource",
14
+ "source_package_id",
15
+ "source_resource_id",
16
+ "source_url",
17
+ "license_id",
18
+ "retrieved_at"
19
+ ],
20
+ "generated_at": "2026-07-16T22:11:48Z",
21
+ "indicator_count": 0,
22
+ "mode": "tabular_resource",
23
+ "repo_id": "electricsheepafrica/africa-morocco-chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-8f8498f0",
24
+ "rows": 20,
25
+ "source": {
26
+ "api_base_url": "https://data.gov.ma/data",
27
+ "country_iso3": "MAR",
28
+ "country_name": "Morocco",
29
+ "group_names": "societe",
30
+ "license_id": "odc-odbl",
31
+ "license_title": "Open Data Commons Open Database License (ODbL)",
32
+ "license_url": "http://www.opendefinition.org/licenses/odc-odbl",
33
+ "organization_id": "4ac4b813-2c34-49f4-9743-f15215e0fe91",
34
+ "organization_name": "centre-regional-d-investissement-draa-tafilalet",
35
+ "organization_title": "Centre Régional d'Investissement Drâa Tafilalet",
36
+ "package_author": "",
37
+ "package_id": "71174484-bf01-41ee-b515-15f65bfbe831",
38
+ "package_maintainer": "",
39
+ "package_metadata_created": "2022-05-16T11:52:09.977200",
40
+ "package_metadata_modified": "2022-05-16T11:53:59.116223",
41
+ "package_name": "chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-dans-la-region-de-draa-tafilalet-en-2021",
42
+ "package_notes": "Ce fichier présente des chiffres relatifs à l’investissement (en MAD) et à l’emploi dans la région de Drâa Tafilalet au titre de l’année 2021.",
43
+ "package_page_url": "https://data.gov.ma/data/dataset/chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-dans-la-region-de-draa-tafilalet-en-2021",
44
+ "package_private": "False",
45
+ "package_state": "active",
46
+ "package_title": "Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021.",
47
+ "package_version": "",
48
+ "portal_url": "https://data.gov.ma/data",
49
+ "resource_created": "2022-05-16T11:53:58.861376",
50
+ "resource_datastore_active": "False",
51
+ "resource_description": "",
52
+ "resource_format": "XLSX",
53
+ "resource_hash": "",
54
+ "resource_id": "ea17ccc7-df00-4db2-b333-69ee7b748c65",
55
+ "resource_last_modified": "2022-05-16T11:53:58.836848",
56
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
57
+ "resource_name": "Open Data - CRI DT 2021 v2.xlsx",
58
+ "resource_position": "1",
59
+ "resource_size": "14355",
60
+ "resource_state": "active",
61
+ "resource_url": "https://data.gov.ma/data/fr/dataset/71174484-bf01-41ee-b515-15f65bfbe831/resource/ea17ccc7-df00-4db2-b333-69ee7b748c65/download/open-data-cri-dt-2021-v2.xlsx",
62
+ "retrieved_at": "2026-07-16T17:56:59Z",
63
+ "tag_names": "CRI; Région; investissement"
64
+ },
65
+ "year_max": null,
66
+ "year_min": null
67
+ }