CollosaAI commited on
Commit
be973da
·
verified ·
1 Parent(s): 68ca8f3

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: odbl
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 1K<n<10K
11
+ tags:
12
+ - tabular
13
+ - xls
14
+ - africa
15
+ - morocco
16
+ - official-statistics
17
+ - open-data
18
+ pretty_name: "Budget de fonctionnement et d'équipement de la commune AIT MELLOUL | Africa (Morocco official open data)"
19
+ ---
20
+
21
+ # Budget de fonctionnement et d'équipement de la commune AIT MELLOUL | Africa (Morocco official open data)
22
+
23
+ 2,966 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
24
+
25
+ ![rows](https://img.shields.io/badge/rows-2966-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:** [Budget de fonctionnement et d'équipement de la commune AIT MELLOUL](https://data.gov.ma/data/dataset/budget-de-fonctionnement-et-d-equipement-de-la-commune-ait-melloul-de-l-annee-2024)
40
+ - **Publisher:** Commune Ait Melloul
41
+ - **Resource:** [Programmation Budget Initial 2025.xls](https://data.gov.ma/data/dataset/444e3862-cd01-4f70-81c7-c95a132a1d1d/resource/3054be66-e8cb-47ad-b14c-6030731bf2c9/download/programmation-budget-initial-2025.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,966 | 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. | `3054be66-e8cb-47ad-b14c-6030731bf2c9:programmationbudgetaire: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. | `programmationBudgetaire` |
66
+ | `code_fonc` | `string` | Source column. | `` |
67
+ | `column_2` | `string` | Source column. | `` |
68
+ | `column_3` | `float64` | Source column. | `` |
69
+ | `column_4` | `string` | Source column. | `` |
70
+ | `column_5` | `string` | Source column. | `` |
71
+ | `column_6` | `float64` | Source column. | `` |
72
+ | `column_7` | `string` | Source column. | `` |
73
+ | `code_econ` | `string` | Source column. | `` |
74
+ | `column_9` | `string` | Source column. | `` |
75
+ | `column_10` | `string` | Source column. | `` |
76
+ | `column_11` | `string` | Source column. | `` |
77
+ | `column_12` | `string` | Source column. | `` |
78
+ | `column` | `string` | Source column. | `Code budgétaire` |
79
+ | `column_14` | `string` | Source column. | `` |
80
+ | `column_15` | `string` | Source column. | `` |
81
+ | `column_16` | `float64` | Source column. | `` |
82
+ | `column_17` | `string` | Source column. | `` |
83
+ | `column_18` | `float64` | Source column. | `` |
84
+ | `column_19` | `string` | Source column. | `` |
85
+ | `column_20` | `string` | Source column. | `` |
86
+ | `column_21` | `float64` | Source column. | `` |
87
+ | `column_22` | `string` | Source column. | `` |
88
+ | `column_23` | `string` | Source column. | `` |
89
+ | `column_24` | `string` | Source column. | `` |
90
+ | `column_25` | `string` | Source column. | `` |
91
+ | `column_26` | `string` | Source column. | `` |
92
+ | `column_27` | `float64` | Source column. | `` |
93
+ | `nature_recettes_de_fonctionnement` | `string` | Source column. | `` |
94
+ | `column_29` | `string` | Source column. | `` |
95
+ | `column_30` | `string` | Source column. | `` |
96
+ | `column_31` | `string` | Source column. | `` |
97
+ | `column_32` | `string` | Source column. | `` |
98
+ | `column_33` | `string` | Source column. | `` |
99
+ | `column_34` | `string` | Source column. | `` |
100
+ | `column_35` | `string` | Source column. | `` |
101
+ | `column_36` | `string` | Source column. | `` |
102
+ | `column_37` | `string` | Source column. | `` |
103
+ | `column_38` | `string` | Source column. | `` |
104
+ | `column_39` | `string` | Source column. | `` |
105
+ | `column_40` | `string` | Source column. | `` |
106
+ | `column_41` | `string` | Source column. | `` |
107
+ | `column_42` | `string` | Source column. | `` |
108
+ | `column_43` | `float64` | Source column. | `` |
109
+ | `column_44` | `string` | Source column. | `` |
110
+ | `column_45` | `string` | Source column. | `` |
111
+ | `column_46` | `string` | Source column. | `` |
112
+ | `column_47` | `string` | Source column. | `` |
113
+ | `column_48` | `string` | Source column. | `` |
114
+ | `column_49` | `string` | Source column. | `` |
115
+ | `column_50` | `string` | Source column. | `` |
116
+ | `column_51` | `string` | Source column. | `` |
117
+ | `column_52` | `string` | Source column. | `` |
118
+ | `column_53` | `string` | Source column. | `` |
119
+ | `admises` | `float64` | Source column. | `` |
120
+ | `column_55` | `float64` | Source column. | `` |
121
+ | `column_56` | `string` | Source column. | `` |
122
+ | `column_57` | `string` | Source column. | `` |
123
+ | `column_58` | `string` | Source column. | `` |
124
+ | `column_59` | `float64` | Source column. | `` |
125
+ | `column_60` | `float64` | Source column. | `` |
126
+ | `column_61` | `string` | Source column. | `` |
127
+ | `column_62` | `string` | Source column. | `` |
128
+ | `column_63` | `string` | Source column. | `` |
129
+ | `proposees` | `float64` | Source column. | `` |
130
+ | `column_65` | `string` | Source column. | `` |
131
+ | `column_66` | `string` | Source column. | `` |
132
+ | `column_67` | `float64` | Source column. | `` |
133
+ | `column_68` | `string` | Source column. | `` |
134
+ | `column_69` | `float64` | Source column. | `` |
135
+ | `column_70` | `string` | Source column. | `` |
136
+ | `column_71` | `string` | Source column. | `` |
137
+ | `column_72` | `string` | Source column. | `` |
138
+ | `column_8` | `string` | Source column. | `` |
139
+ | `column_74` | `string` | Source column. | `` |
140
+ | `column_75` | `float64` | Source column. | `` |
141
+ | `column_76` | `string` | Source column. | `` |
142
+ | `column_77` | `string` | Source column. | `` |
143
+ | `column_78` | `float64` | Source column. | `` |
144
+ | `column_79` | `string` | Source column. | `` |
145
+ | `column_80` | `string` | Source column. | `` |
146
+ | `column_81` | `string` | Source column. | `` |
147
+ | `column_82` | `string` | Source column. | `` |
148
+ | `column_83` | `string` | Source column. | `` |
149
+ | `column_84` | `string` | Source column. | `` |
150
+ | `observations` | `string` | Source column. | `` |
151
+ | `column_86` | `string` | Source column. | `` |
152
+ | `column_87` | `string` | Source column. | `` |
153
+ | `column_88` | `string` | Source column. | `` |
154
+ | `column_89` | `string` | Source column. | `` |
155
+ | `column_90` | `string` | Source column. | `` |
156
+ | `column_91` | `string` | Source column. | `` |
157
+ | `column_92` | `string` | Source column. | `` |
158
+ | `column_93` | `string` | Source column. | `` |
159
+ | `column_94` | `float64` | Source column. | `` |
160
+ | `column_95` | `string` | Source column. | `` |
161
+ | `column_96` | `string` | Source column. | `` |
162
+ | `column_97` | `string` | Source column. | `` |
163
+ | `column_98` | `float64` | Source column. | `` |
164
+ | `column_99` | `float64` | Source column. | `` |
165
+ | `column_100` | `float64` | Source column. | `` |
166
+ | `column_101` | `float64` | Source column. | `` |
167
+ | `column_102` | `float64` | Source column. | `` |
168
+ | `column_103` | `float64` | Source column. | `` |
169
+ | `column_104` | `float64` | Source column. | `` |
170
+ | `column_105` | `string` | Source column. | `` |
171
+ | `column_106` | `string` | Source column. | `` |
172
+ | `source_provider` | `string` | Publishing organization. | `Commune Ait Melloul` |
173
+ | `source_dataset` | `string` | Source package title. | `Budget de fonctionnement et d'équipement de la commune AIT MELLOUL` |
174
+ | `source_resource` | `string` | Source resource title. | `Programmation Budget Initial 2025.xls` |
175
+ | `source_package_id` | `string` | CKAN package UUID. | `444e3862-cd01-4f70-81c7-c95a132a1d1d` |
176
+ | `source_resource_id` | `string` | CKAN resource UUID. | `3054be66-e8cb-47ad-b14c-6030731bf2c9` |
177
+ | `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/dataset/444e3862-cd01-4f70-81c7-c95a132a1d1d/re` |
178
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
179
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T22:26:50Z` |
180
+
181
+ ## Usage
182
+
183
+ ```python
184
+ from datasets import load_dataset
185
+
186
+ ds = load_dataset("electricsheepafrica/africa-morocco-budget-de-fonctionnement-et-d-equipement-de-la-commune-ait-41765539")
187
+ df = ds["train"].to_pandas()
188
+ print(df.head())
189
+ ```
190
+
191
+ ### Filter to one country
192
+
193
+ ```python
194
+ sample_country = df[df["country_iso3"] == "MAR"]
195
+ ```
196
+
197
+ ### Work with indicators
198
+
199
+ ```python
200
+ if "indicator_id" in df.columns:
201
+ print(df["indicator_id"].value_counts().head())
202
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
203
+ ```
204
+
205
+ ## Citation
206
+
207
+ ```bibtex
208
+ @misc{electric_sheep_africa_africa_morocco_budget_de_fonctionnement_et_d_equipement_de_la_commune_ait_417655_2026,
209
+ title = {Budget de fonctionnement et d'équipement de la commune AIT MELLOUL | Africa (Morocco official open data)},
210
+ author = {Commune Ait Melloul},
211
+ year = {2026},
212
+ url = {https://data.gov.ma/data/dataset/budget-de-fonctionnement-et-d-equipement-de-la-commune-ait-melloul-de-l-annee-2024},
213
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
214
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-budget-de-fonctionnement-et-d-equipement-de-la-commune-ait-41765539}}
215
+ }
216
+ ```
217
+
218
+ ## License
219
+
220
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
221
+
222
+ Original data (c) Commune Ait Melloul. When using this dataset, please cite both the
223
+ original source above and the Electric Sheep Africa repackaging.
224
+
225
+ ## About Electric Sheep
226
+
227
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
228
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
229
+ open sources, normalize the schemas, package as Parquet, and publish with
230
+ consistent dataset cards so researchers and developers can use `load_dataset()`
231
+ to start working in seconds.
232
+
233
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
234
+
235
+ ---
236
+
237
+ Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
238
+ https://data.gov.ma/data/dataset/444e3862-cd01-4f70-81c7-c95a132a1d1d/resource/3054be66-e8cb-47ad-b14c-6030731bf2c9/download/programmation-budget-initial-2025.xls
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e52e03d382cb1708c9a2b2ace0fe0591e016f6b9acb9a1be9b84e7807fd83f5
3
+ size 124913
metadata/source_snapshot.json ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "code_fonc",
8
+ "column_2",
9
+ "column_3",
10
+ "column_4",
11
+ "column_5",
12
+ "column_6",
13
+ "column_7",
14
+ "code_econ",
15
+ "column_9",
16
+ "column_10",
17
+ "column_11",
18
+ "column_12",
19
+ "column",
20
+ "column_14",
21
+ "column_15",
22
+ "column_16",
23
+ "column_17",
24
+ "column_18",
25
+ "column_19",
26
+ "column_20",
27
+ "column_21",
28
+ "column_22",
29
+ "column_23",
30
+ "column_24",
31
+ "column_25",
32
+ "column_26",
33
+ "column_27",
34
+ "nature_recettes_de_fonctionnement",
35
+ "column_29",
36
+ "column_30",
37
+ "column_31",
38
+ "column_32",
39
+ "column_33",
40
+ "column_34",
41
+ "column_35",
42
+ "column_36",
43
+ "column_37",
44
+ "column_38",
45
+ "column_39",
46
+ "column_40",
47
+ "column_41",
48
+ "column_42",
49
+ "column_43",
50
+ "column_44",
51
+ "column_45",
52
+ "column_46",
53
+ "column_47",
54
+ "column_48",
55
+ "column_49",
56
+ "column_50",
57
+ "column_51",
58
+ "column_52",
59
+ "column_53",
60
+ "admises",
61
+ "column_55",
62
+ "column_56",
63
+ "column_57",
64
+ "column_58",
65
+ "column_59",
66
+ "column_60",
67
+ "column_61",
68
+ "column_62",
69
+ "column_63",
70
+ "proposees",
71
+ "column_65",
72
+ "column_66",
73
+ "column_67",
74
+ "column_68",
75
+ "column_69",
76
+ "column_70",
77
+ "column_71",
78
+ "column_72",
79
+ "column_8",
80
+ "column_74",
81
+ "column_75",
82
+ "column_76",
83
+ "column_77",
84
+ "column_78",
85
+ "column_79",
86
+ "column_80",
87
+ "column_81",
88
+ "column_82",
89
+ "column_83",
90
+ "column_84",
91
+ "observations",
92
+ "column_86",
93
+ "column_87",
94
+ "column_88",
95
+ "column_89",
96
+ "column_90",
97
+ "column_91",
98
+ "column_92",
99
+ "column_93",
100
+ "column_94",
101
+ "column_95",
102
+ "column_96",
103
+ "column_97",
104
+ "column_98",
105
+ "column_99",
106
+ "column_100",
107
+ "column_101",
108
+ "column_102",
109
+ "column_103",
110
+ "column_104",
111
+ "column_105",
112
+ "column_106",
113
+ "source_provider",
114
+ "source_dataset",
115
+ "source_resource",
116
+ "source_package_id",
117
+ "source_resource_id",
118
+ "source_url",
119
+ "license_id",
120
+ "retrieved_at"
121
+ ],
122
+ "generated_at": "2026-07-16T22:27:11Z",
123
+ "indicator_count": 0,
124
+ "mode": "tabular_resource",
125
+ "repo_id": "electricsheepafrica/africa-morocco-budget-de-fonctionnement-et-d-equipement-de-la-commune-ait-41765539",
126
+ "rows": 2966,
127
+ "source": {
128
+ "api_base_url": "https://data.gov.ma/data",
129
+ "country_iso3": "MAR",
130
+ "country_name": "Morocco",
131
+ "group_names": "finance",
132
+ "license_id": "odc-odbl",
133
+ "license_title": "Open Data Commons Open Database License (ODbL)",
134
+ "license_url": "https://opendefinition.org/licenses/odc-odbl",
135
+ "organization_id": "2f2d3a64-b627-4cd2-ac41-6b7e610e8cfd",
136
+ "organization_name": "commune-ait-melloul",
137
+ "organization_title": "Commune Ait Melloul",
138
+ "package_author": "",
139
+ "package_id": "444e3862-cd01-4f70-81c7-c95a132a1d1d",
140
+ "package_maintainer": "",
141
+ "package_metadata_created": "2024-08-13T08:46:04.255549",
142
+ "package_metadata_modified": "2025-01-09T11:21:24.002919",
143
+ "package_name": "budget-de-fonctionnement-et-d-equipement-de-la-commune-ait-melloul-de-l-annee-2024",
144
+ "package_notes": "Ce fichier présente les recettes et les crédits du budget de fonctionnement et d'équipement de la commune AIT MELLOUL",
145
+ "package_page_url": "https://data.gov.ma/data/dataset/budget-de-fonctionnement-et-d-equipement-de-la-commune-ait-melloul-de-l-annee-2024",
146
+ "package_private": "False",
147
+ "package_state": "active",
148
+ "package_title": "Budget de fonctionnement et d'équipement de la commune AIT MELLOUL",
149
+ "package_version": "",
150
+ "portal_url": "https://data.gov.ma/data",
151
+ "resource_created": "2025-01-09T11:21:05.960711",
152
+ "resource_datastore_active": "False",
153
+ "resource_description": "",
154
+ "resource_format": "XLS",
155
+ "resource_hash": "",
156
+ "resource_id": "3054be66-e8cb-47ad-b14c-6030731bf2c9",
157
+ "resource_last_modified": "2025-01-09T11:21:05.927092",
158
+ "resource_mimetype": "application/vnd.ms-excel",
159
+ "resource_name": "Programmation Budget Initial 2025.xls",
160
+ "resource_position": "1",
161
+ "resource_size": "1636352",
162
+ "resource_state": "active",
163
+ "resource_url": "https://data.gov.ma/data/dataset/444e3862-cd01-4f70-81c7-c95a132a1d1d/resource/3054be66-e8cb-47ad-b14c-6030731bf2c9/download/programmation-budget-initial-2025.xls",
164
+ "retrieved_at": "2026-07-16T17:56:59Z",
165
+ "tag_names": "budget; crédit; focntionnement; recette; équipement"
166
+ },
167
+ "year_max": null,
168
+ "year_min": null
169
+ }