Kossisoroyce commited on
Commit
df0040a
·
verified ·
1 Parent(s): c6cb52e

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - xls
14
+ - africa
15
+ - morocco
16
+ - official-statistics
17
+ - open-data
18
+ pretty_name: "Statistiques Economiques et Financières au 20-05-2015 | Africa (Morocco official open data)"
19
+ ---
20
+
21
+ # Statistiques Economiques et Financières au 20-05-2015 | Africa (Morocco official open data)
22
+
23
+ 2 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
24
+
25
+ ![rows](https://img.shields.io/badge/rows-2-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 `XLS` 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:** [Statistiques Economiques et Financières au 20-05-2015](https://data.gov.ma/data/dataset/statistiques-economiques-et-financieres-par-secteur)
40
+ - **Publisher:** Ministère de l'Economie et des Finances
41
+ - **Resource:** [Statistiques Economiques et Financières au MAROC](http://datagovma.webhi.net/data/fr/dataset/7e8bcb9b-beed-47d2-8cee-1ab24354adea/resource/0d775615-fb85-4bd5-bf32-18d9bb55f68f/download/statistiques-economiques-et-financieres-au-maroc-population-mef-2015-1.xls)
42
+ - **Format:** `XLS`
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` | 2 | 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. | `0d775615-fb85-4bd5-bf32-18d9bb55f68f:population: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. | `Population` |
66
+ | `categories_de_donnees` | `string` | Source column. | `POPULATION` |
67
+ | `unite` | `string` | Source column. | `` |
68
+ | `periode_de_reference` | `float64` | Source column. | `` |
69
+ | `donnees_de_la_periode_de_reference` | `float64` | Source column. | `` |
70
+ | `donnees_de_la_periode_precedente` | `float64` | Source column. | `` |
71
+ | `variation_en` | `float64` | Source column. | `` |
72
+ | `autres_informations_hyperlien` | `string` | Source column. | `` |
73
+ | `source_provider` | `string` | Publishing organization. | `Ministère de l'Economie et des Finances` |
74
+ | `source_dataset` | `string` | Source package title. | `Statistiques Economiques et Financières au 20-05-2015` |
75
+ | `source_resource` | `string` | Source resource title. | `Statistiques Economiques et Financières au MAROC` |
76
+ | `source_package_id` | `string` | CKAN package UUID. | `7e8bcb9b-beed-47d2-8cee-1ab24354adea` |
77
+ | `source_resource_id` | `string` | CKAN resource UUID. | `0d775615-fb85-4bd5-bf32-18d9bb55f68f` |
78
+ | `source_url` | `string` | Original source resource URL. | `http://datagovma.webhi.net/data/fr/dataset/7e8bcb9b-beed-47d2-8cee-1ab24` |
79
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
80
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T22:26:50Z` |
81
+
82
+ ## Usage
83
+
84
+ ```python
85
+ from datasets import load_dataset
86
+
87
+ ds = load_dataset("electricsheepafrica/africa-morocco-statistiques-economiques-et-financieres-au-20-05-2015-02ad70f8")
88
+ df = ds["train"].to_pandas()
89
+ print(df.head())
90
+ ```
91
+
92
+ ### Filter to one country
93
+
94
+ ```python
95
+ sample_country = df[df["country_iso3"] == "MAR"]
96
+ ```
97
+
98
+ ### Work with indicators
99
+
100
+ ```python
101
+ if "indicator_id" in df.columns:
102
+ print(df["indicator_id"].value_counts().head())
103
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
104
+ ```
105
+
106
+ ## Citation
107
+
108
+ ```bibtex
109
+ @misc{electric_sheep_africa_africa_morocco_statistiques_economiques_et_financieres_au_20_05_2015_02ad70f8_2026,
110
+ title = {Statistiques Economiques et Financières au 20-05-2015 | Africa (Morocco official open data)},
111
+ author = {Ministère de l'Economie et des Finances},
112
+ year = {2026},
113
+ url = {https://data.gov.ma/data/dataset/statistiques-economiques-et-financieres-par-secteur},
114
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
115
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-statistiques-economiques-et-financieres-au-20-05-2015-02ad70f8}}
116
+ }
117
+ ```
118
+
119
+ ## License
120
+
121
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
122
+
123
+ Original data (c) Ministère de l'Economie et des Finances. When using this dataset, please cite both the
124
+ original source above and the Electric Sheep Africa repackaging.
125
+
126
+ ## About Electric Sheep
127
+
128
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
129
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
130
+ open sources, normalize the schemas, package as Parquet, and publish with
131
+ consistent dataset cards so researchers and developers can use `load_dataset()`
132
+ to start working in seconds.
133
+
134
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
135
+
136
+ ---
137
+
138
+ Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
139
+ http://datagovma.webhi.net/data/fr/dataset/7e8bcb9b-beed-47d2-8cee-1ab24354adea/resource/0d775615-fb85-4bd5-bf32-18d9bb55f68f/download/statistiques-economiques-et-financieres-au-maroc-population-mef-2015-1.xls
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e27ea5991da3aa07275b087480fb3353db2072bed81212ce8cc5857f0417733
3
+ size 14696
metadata/source_snapshot.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "categories_de_donnees",
8
+ "unite",
9
+ "periode_de_reference",
10
+ "donnees_de_la_periode_de_reference",
11
+ "donnees_de_la_periode_precedente",
12
+ "variation_en",
13
+ "autres_informations_hyperlien",
14
+ "source_provider",
15
+ "source_dataset",
16
+ "source_resource",
17
+ "source_package_id",
18
+ "source_resource_id",
19
+ "source_url",
20
+ "license_id",
21
+ "retrieved_at"
22
+ ],
23
+ "generated_at": "2026-07-16T22:29:50Z",
24
+ "indicator_count": 0,
25
+ "mode": "tabular_resource",
26
+ "repo_id": "electricsheepafrica/africa-morocco-statistiques-economiques-et-financieres-au-20-05-2015-02ad70f8",
27
+ "rows": 2,
28
+ "source": {
29
+ "api_base_url": "https://data.gov.ma/data",
30
+ "country_iso3": "MAR",
31
+ "country_name": "Morocco",
32
+ "group_names": "finance",
33
+ "license_id": "odc-odbl",
34
+ "license_title": "Open Data Commons Open Database License (ODbL)",
35
+ "license_url": "http://www.opendefinition.org/licenses/odc-odbl",
36
+ "organization_id": "b428a1d6-2c1b-409a-a7e6-46272f2cf4c9",
37
+ "organization_name": "ministere-de-l-economie-et-des-finances",
38
+ "organization_title": "Ministère de l'Economie et des Finances",
39
+ "package_author": "",
40
+ "package_id": "7e8bcb9b-beed-47d2-8cee-1ab24354adea",
41
+ "package_maintainer": "",
42
+ "package_metadata_created": "2015-03-09T16:29:37.787730",
43
+ "package_metadata_modified": "2021-12-10T19:47:46.772255",
44
+ "package_name": "statistiques-economiques-et-financieres-par-secteur",
45
+ "package_notes": "Statistiques Economiques et Financières au Maroc classées par secteur au 20-05-2015.",
46
+ "package_page_url": "https://data.gov.ma/data/dataset/statistiques-economiques-et-financieres-par-secteur",
47
+ "package_private": "False",
48
+ "package_state": "active",
49
+ "package_title": "Statistiques Economiques et Financières au 20-05-2015",
50
+ "package_version": "",
51
+ "portal_url": "https://data.gov.ma/data",
52
+ "resource_created": "2017-12-17T10:40:35.325252",
53
+ "resource_datastore_active": "False",
54
+ "resource_description": "Statistiques Economiques et Financières au MAROC : Population",
55
+ "resource_format": "XLS",
56
+ "resource_hash": "",
57
+ "resource_id": "0d775615-fb85-4bd5-bf32-18d9bb55f68f",
58
+ "resource_last_modified": "2017-12-17T10:40:35.300524",
59
+ "resource_mimetype": "application/vnd.ms-excel",
60
+ "resource_name": "Statistiques Economiques et Financières au MAROC",
61
+ "resource_position": "5",
62
+ "resource_size": "26112",
63
+ "resource_state": "active",
64
+ "resource_url": "http://datagovma.webhi.net/data/fr/dataset/7e8bcb9b-beed-47d2-8cee-1ab24354adea/resource/0d775615-fb85-4bd5-bf32-18d9bb55f68f/download/statistiques-economiques-et-financieres-au-maroc-population-mef-2015-1.xls",
65
+ "retrieved_at": "2026-07-16T17:56:59Z",
66
+ "tag_names": "finance; secteur; statistique; économie"
67
+ },
68
+ "year_max": null,
69
+ "year_min": null
70
+ }