Kossiesa commited on
Commit
0d0ac47
·
verified ·
1 Parent(s): bb7c39d

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: "Les données financières – État des recettes du budget de fonctionnement | Africa (Morocco official open data)"
19
+ ---
20
+
21
+ # Les données financières – État des recettes du budget de fonctionnement | Africa (Morocco official open data)
22
+
23
+ 81 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
24
+
25
+ ![rows](https://img.shields.io/badge/rows-81-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:** [Les données financières – État des recettes du budget de fonctionnement](https://data.gov.ma/data/dataset/les-donnees-financieres-de-l-annee-2024-etat-des-recettes-du-budget-de-fonctionnement)
40
+ - **Publisher:** Commune Ait Melloul
41
+ - **Resource:** [البيانات المالية لسنة _2025_بيان_ت_مداخيل_التسيير_.xlsx](https://data.gov.ma/data/ar/dataset/4a423865-33ea-49d5-8cd1-99b24674587b/resource/3e93c5ed-450b-4ed0-9d5c-1d249825d82c/download/-_2025_____.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` | 81 | 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. | `3e93c5ed-450b-4ed0-9d5c-1d249825d82c:dataset: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. | `بيان ت مداخيل التسيير` |
66
+ | `column` | `string` | Source column. | `10/10/10.11` |
67
+ | `column_2` | `float64` | Source column. | `` |
68
+ | `column_3` | `string` | Source column. | `رسم تصديق الإمضاء والإشهاد بالتطابق` |
69
+ | `column_4` | `float64` | Source column. | `900000.0` |
70
+ | `column_5` | `float64` | Source column. | `1227000.0` |
71
+ | `column_6` | `float64` | Source column. | `1227000.0` |
72
+ | `source_provider` | `string` | Publishing organization. | `Commune Ait Melloul` |
73
+ | `source_dataset` | `string` | Source package title. | `Les données financières – État des recettes du budget de fonctionnement` |
74
+ | `source_resource` | `string` | Source resource title. | `البيانات المالية لسنة _2025_بيان_ت_مداخيل_التسيير_.xlsx` |
75
+ | `source_package_id` | `string` | CKAN package UUID. | `4a423865-33ea-49d5-8cd1-99b24674587b` |
76
+ | `source_resource_id` | `string` | CKAN resource UUID. | `3e93c5ed-450b-4ed0-9d5c-1d249825d82c` |
77
+ | `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/ar/dataset/4a423865-33ea-49d5-8cd1-99b24674587b` |
78
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
79
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T22:26:50Z` |
80
+
81
+ ## Usage
82
+
83
+ ```python
84
+ from datasets import load_dataset
85
+
86
+ ds = load_dataset("electricsheepafrica/africa-morocco-les-donnees-financieres-etat-des-recettes-du-budget-de-fon-3e476d5f")
87
+ df = ds["train"].to_pandas()
88
+ print(df.head())
89
+ ```
90
+
91
+ ### Filter to one country
92
+
93
+ ```python
94
+ sample_country = df[df["country_iso3"] == "MAR"]
95
+ ```
96
+
97
+ ### Work with indicators
98
+
99
+ ```python
100
+ if "indicator_id" in df.columns:
101
+ print(df["indicator_id"].value_counts().head())
102
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
103
+ ```
104
+
105
+ ## Citation
106
+
107
+ ```bibtex
108
+ @misc{electric_sheep_africa_africa_morocco_les_donnees_financieres_etat_des_recettes_du_budget_de_fon_3e476d_2026,
109
+ title = {Les données financières – État des recettes du budget de fonctionnement | Africa (Morocco official open data)},
110
+ author = {Commune Ait Melloul},
111
+ year = {2026},
112
+ url = {https://data.gov.ma/data/dataset/les-donnees-financieres-de-l-annee-2024-etat-des-recettes-du-budget-de-fonctionnement},
113
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
114
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-les-donnees-financieres-etat-des-recettes-du-budget-de-fon-3e476d5f}}
115
+ }
116
+ ```
117
+
118
+ ## License
119
+
120
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
121
+
122
+ Original data (c) Commune Ait Melloul. When using this dataset, please cite both the
123
+ original source above and the Electric Sheep Africa repackaging.
124
+
125
+ ## About Electric Sheep
126
+
127
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
128
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
129
+ open sources, normalize the schemas, package as Parquet, and publish with
130
+ consistent dataset cards so researchers and developers can use `load_dataset()`
131
+ to start working in seconds.
132
+
133
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
134
+
135
+ ---
136
+
137
+ Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
138
+ https://data.gov.ma/data/ar/dataset/4a423865-33ea-49d5-8cd1-99b24674587b/resource/3e93c5ed-450b-4ed0-9d5c-1d249825d82c/download/-_2025_____.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00c9eb640b0d9cb6eadf913512bd74ef12e87bf84a1758179481badcd93c67b5
3
+ size 16740
metadata/source_snapshot.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "column",
8
+ "column_2",
9
+ "column_3",
10
+ "column_4",
11
+ "column_5",
12
+ "column_6",
13
+ "source_provider",
14
+ "source_dataset",
15
+ "source_resource",
16
+ "source_package_id",
17
+ "source_resource_id",
18
+ "source_url",
19
+ "license_id",
20
+ "retrieved_at"
21
+ ],
22
+ "generated_at": "2026-07-16T22:26:52Z",
23
+ "indicator_count": 0,
24
+ "mode": "tabular_resource",
25
+ "repo_id": "electricsheepafrica/africa-morocco-les-donnees-financieres-etat-des-recettes-du-budget-de-fon-3e476d5f",
26
+ "rows": 81,
27
+ "source": {
28
+ "api_base_url": "https://data.gov.ma/data",
29
+ "country_iso3": "MAR",
30
+ "country_name": "Morocco",
31
+ "group_names": "finance",
32
+ "license_id": "odc-odbl",
33
+ "license_title": "Open Data Commons Open Database License (ODbL)",
34
+ "license_url": "https://opendefinition.org/licenses/odc-odbl",
35
+ "organization_id": "2f2d3a64-b627-4cd2-ac41-6b7e610e8cfd",
36
+ "organization_name": "commune-ait-melloul",
37
+ "organization_title": "Commune Ait Melloul",
38
+ "package_author": "",
39
+ "package_id": "4a423865-33ea-49d5-8cd1-99b24674587b",
40
+ "package_maintainer": "",
41
+ "package_metadata_created": "2025-06-19T11:17:02.064165",
42
+ "package_metadata_modified": "2026-07-16T09:41:44.074289",
43
+ "package_name": "les-donnees-financieres-de-l-annee-2024-etat-des-recettes-du-budget-de-fonctionnement",
44
+ "package_notes": "Ce fichier présente le budget général complet, structuré en 84 postes budgétaires détaillés, avec des mécanismes de suivi, contrôle et évaluation intégrés.",
45
+ "package_page_url": "https://data.gov.ma/data/dataset/les-donnees-financieres-de-l-annee-2024-etat-des-recettes-du-budget-de-fonctionnement",
46
+ "package_private": "False",
47
+ "package_state": "active",
48
+ "package_title": "Les données financières – État des recettes du budget de fonctionnement",
49
+ "package_version": "",
50
+ "portal_url": "https://data.gov.ma/data",
51
+ "resource_created": "2026-07-16T09:41:44.103708",
52
+ "resource_datastore_active": "False",
53
+ "resource_description": "",
54
+ "resource_format": "XLSX",
55
+ "resource_hash": "",
56
+ "resource_id": "3e93c5ed-450b-4ed0-9d5c-1d249825d82c",
57
+ "resource_last_modified": "2026-07-16T09:41:44.061432",
58
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
59
+ "resource_name": "البيانات المالية لسنة _2025_بيان_ت_مداخيل_التسيير_.xlsx",
60
+ "resource_position": "2",
61
+ "resource_size": "101133",
62
+ "resource_state": "active",
63
+ "resource_url": "https://data.gov.ma/data/ar/dataset/4a423865-33ea-49d5-8cd1-99b24674587b/resource/3e93c5ed-450b-4ed0-9d5c-1d249825d82c/download/-_2025_____.xlsx",
64
+ "retrieved_at": "2026-07-16T17:56:59Z",
65
+ "tag_names": "budget; contrôle; exercice annuel; général; الميزانية"
66
+ },
67
+ "year_max": null,
68
+ "year_min": null
69
+ }