interva commited on
Commit
60ff33f
·
verified ·
1 Parent(s): d72e50a

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - ict
19
+ pretty_name: "Activité détaillée des Cours d'appel 2021 | Africa (Morocco official open data)"
20
+ ---
21
+
22
+ # Activité détaillée des Cours d'appel 2021 | Africa (Morocco official open data)
23
+
24
+ 22 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
25
+
26
+ ![rows](https://img.shields.io/badge/rows-22-blue)
27
+ ![countries](https://img.shields.io/badge/countries-1-green)
28
+ ![years](https://img.shields.io/badge/years-not-applicable-orange)
29
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
30
+ ![license](https://img.shields.io/badge/license-odbl-lightgrey)
31
+
32
+ ## TL;DR
33
+
34
+ This dataset packages one official `XLSX` resource from **Morocco** as
35
+ ML-ready Parquet. The source file is the provenance boundary; all usable
36
+ indicators or tabular columns from the resource stay together in this repo.
37
+
38
+ ## About the source
39
+
40
+ - **Source:** [Activité détaillée des Cours d'appel 2021](https://data.gov.ma/data/dataset/activite-detaillee-des-cours-d-appel-2021)
41
+ - **Publisher:** MJ
42
+ - **Resource:** [النشاط المفصل لمحاكم الاستئناف.xlsx](https://data.gov.ma/data/fr/dataset/47979de4-3ac5-42b8-9148-65d800cc53de/resource/127e6045-a98b-481e-ab21-cf0a4c4968ca/download/-.xlsx)
43
+ - **Format:** `XLSX`
44
+ - **License:** [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/)
45
+ - **Packaging mode:** `tabular_resource`
46
+
47
+ ## Geographic coverage
48
+
49
+ 1 Africa country:
50
+
51
+ | Country | Rows | First year | Last year | Name |
52
+ |---------|-----:|-----------:|----------:|------|
53
+ | `MAR` | 22 | n/a | n/a | `Morocco` |
54
+
55
+ ## Indicators or Resource Contents
56
+
57
+ - This source file is packaged as a normalized tabular resource.
58
+
59
+ ## Schema
60
+
61
+ | Column | Type | Description | Example |
62
+ |--------|------|-------------|---------|
63
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `127e6045-a98b-481e-ab21-cf0a4c4968ca:2021:0` |
64
+ | `country_iso3` | `string` | ISO3 country code. | `MAR` |
65
+ | `country_name` | `string` | Country name. | `Morocco` |
66
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `الاستئناف بتفصيل2021` |
67
+ | `column` | `string` | Source column. | `محكمة الاستئناف بالرباط` |
68
+ | `d_2254` | `int64` | Source column. | `1221` |
69
+ | `d_8323` | `int64` | Source column. | `2460` |
70
+ | `d_602` | `int64` | Source column. | `185` |
71
+ | `d_566` | `int64` | Source column. | `763` |
72
+ | `d_2702` | `int64` | Source column. | `154` |
73
+ | `d_105` | `int64` | Source column. | `161` |
74
+ | `d_3148` | `int64` | Source column. | `1904` |
75
+ | `d_8116` | `int64` | Source column. | `1673` |
76
+ | `d_225` | `int64` | Source column. | `0` |
77
+ | `d_3085` | `int64` | Source column. | `1904` |
78
+ | `d_0` | `int64` | Source column. | `0` |
79
+ | `d_29126` | `int64` | Source column. | `10425` |
80
+ | `column_2` | `string` | Source column. | `محكمة الاستئناف بالرباط` |
81
+ | `d_2111` | `int64` | Source column. | `1283` |
82
+ | `d_8788` | `int64` | Source column. | `2358` |
83
+ | `d_886` | `int64` | Source column. | `85` |
84
+ | `d_727` | `int64` | Source column. | `298` |
85
+ | `d_2874` | `int64` | Source column. | `55` |
86
+ | `d_104` | `int64` | Source column. | `124` |
87
+ | `d_2632` | `int64` | Source column. | `1182` |
88
+ | `d_8836` | `int64` | Source column. | `1637` |
89
+ | `d_217` | `int64` | Source column. | `0` |
90
+ | `d_3442` | `int64` | Source column. | `2189` |
91
+ | `d_0_2` | `int64` | Source column. | `0` |
92
+ | `d_30617` | `int64` | Source column. | `9211` |
93
+ | `column_3` | `string` | Source column. | `محكمة الاستئناف بالرباط` |
94
+ | `d_378` | `int64` | Source column. | `337` |
95
+ | `d_834` | `int64` | Source column. | `3318` |
96
+ | `d_7` | `int64` | Source column. | `311` |
97
+ | `d_119` | `int64` | Source column. | `1150` |
98
+ | `d_330` | `int64` | Source column. | `283` |
99
+ | `d_1` | `int64` | Source column. | `51` |
100
+ | `d_999` | `int64` | Source column. | `2400` |
101
+ | `d_25` | `int64` | Source column. | `921` |
102
+ | `d_23` | `int64` | Source column. | `0` |
103
+ | `d_169` | `int64` | Source column. | `2675` |
104
+ | `d_0_3` | `int64` | Source column. | `0` |
105
+ | `d_2885` | `int64` | Source column. | `11446` |
106
+ | `column_4` | `string` | Source column. | `محكمة الاستئناف بالرباط` |
107
+ | `d_358` | `int64` | Source column. | `285` |
108
+ | `d_1798` | `int64` | Source column. | `1817` |
109
+ | `d_340` | `int64` | Source column. | `197` |
110
+ | `d_221` | `int64` | Source column. | `79` |
111
+ | `d_2627` | `int64` | Source column. | `1795` |
112
+ | `d_1898` | `int64` | Source column. | `1438` |
113
+ | `d_37` | `int64` | Source column. | `34` |
114
+ | `d_40` | `int64` | Source column. | `16` |
115
+ | `d_14696` | `int64` | Source column. | `7578` |
116
+ | `d_331` | `int64` | Source column. | `235` |
117
+ | `d_603` | `int64` | Source column. | `1016` |
118
+ | `d_2310` | `int64` | Source column. | `2401` |
119
+ | `d_25259` | `int64` | Source column. | `16891` |
120
+ | `column_5` | `string` | Source column. | `محكمة الاستئناف بالرباط` |
121
+ | `d_325` | `int64` | Source column. | `297` |
122
+ | `d_2331` | `int64` | Source column. | `1979` |
123
+ | `d_321` | `int64` | Source column. | `173` |
124
+ | `d_93` | `int64` | Source column. | `84` |
125
+ | `d_2601` | `int64` | Source column. | `1335` |
126
+ | `1975` | `int64` | Source column. | `1292` |
127
+ | `d_35` | `int64` | Source column. | `24` |
128
+ | `d_31` | `int64` | Source column. | `31` |
129
+ | `d_14250` | `int64` | Source column. | `6392` |
130
+ | `d_336` | `int64` | Source column. | `173` |
131
+ | `d_561` | `int64` | Source column. | `863` |
132
+ | `d_2287` | `int64` | Source column. | `2432` |
133
+ | `d_25146` | `int64` | Source column. | `15075` |
134
+ | `column_6` | `string` | Source column. | `محكمة الاستئناف بالرباط` |
135
+ | `d_77` | `int64` | Source column. | `288` |
136
+ | `d_134` | `int64` | Source column. | `1289` |
137
+ | `d_82` | `int64` | Source column. | `149` |
138
+ | `d_129` | `int64` | Source column. | `39` |
139
+ | `d_956` | `int64` | Source column. | `1687` |
140
+ | `d_99` | `int64` | Source column. | `956` |
141
+ | `d_16` | `int64` | Source column. | `63` |
142
+ | `d_23_2` | `int64` | Source column. | `28` |
143
+ | `d_1739` | `int64` | Source column. | `2811` |
144
+ | `d_30` | `int64` | Source column. | `145` |
145
+ | `d_88` | `int64` | Source column. | `818` |
146
+ | `d_100` | `int64` | Source column. | `10` |
147
+ | `d_3473` | `int64` | Source column. | `8283` |
148
+ | `source_provider` | `string` | Publishing organization. | `MJ` |
149
+ | `source_dataset` | `string` | Source package title. | `Activité détaillée des Cours d'appel 2021` |
150
+ | `source_resource` | `string` | Source resource title. | `النشاط المفصل لمحاكم الاستئناف.xlsx` |
151
+ | `source_package_id` | `string` | CKAN package UUID. | `47979de4-3ac5-42b8-9148-65d800cc53de` |
152
+ | `source_resource_id` | `string` | CKAN resource UUID. | `127e6045-a98b-481e-ab21-cf0a4c4968ca` |
153
+ | `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/fr/dataset/47979de4-3ac5-42b8-9148-65d800cc53de` |
154
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
155
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T21:31:48Z` |
156
+
157
+ ## Usage
158
+
159
+ ```python
160
+ from datasets import load_dataset
161
+
162
+ ds = load_dataset("electricsheepafrica/africa-morocco-activite-detaillee-des-cours-d-appel-2021-63ccc93e")
163
+ df = ds["train"].to_pandas()
164
+ print(df.head())
165
+ ```
166
+
167
+ ### Filter to one country
168
+
169
+ ```python
170
+ sample_country = df[df["country_iso3"] == "MAR"]
171
+ ```
172
+
173
+ ### Work with indicators
174
+
175
+ ```python
176
+ if "indicator_id" in df.columns:
177
+ print(df["indicator_id"].value_counts().head())
178
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
179
+ ```
180
+
181
+ ## Citation
182
+
183
+ ```bibtex
184
+ @misc{electric_sheep_africa_africa_morocco_activite_detaillee_des_cours_d_appel_2021_63ccc93e_2026,
185
+ title = {Activité détaillée des Cours d'appel 2021 | Africa (Morocco official open data)},
186
+ author = {MJ},
187
+ year = {2026},
188
+ url = {https://data.gov.ma/data/dataset/activite-detaillee-des-cours-d-appel-2021},
189
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
190
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-activite-detaillee-des-cours-d-appel-2021-63ccc93e}}
191
+ }
192
+ ```
193
+
194
+ ## License
195
+
196
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
197
+
198
+ Original data (c) MJ. When using this dataset, please cite both the
199
+ original source above and the Electric Sheep Africa repackaging.
200
+
201
+ ## About Electric Sheep
202
+
203
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
204
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
205
+ open sources, normalize the schemas, package as Parquet, and publish with
206
+ consistent dataset cards so researchers and developers can use `load_dataset()`
207
+ to start working in seconds.
208
+
209
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
210
+
211
+ ---
212
+
213
+ Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
214
+ https://data.gov.ma/data/fr/dataset/47979de4-3ac5-42b8-9148-65d800cc53de/resource/127e6045-a98b-481e-ab21-cf0a4c4968ca/download/-.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28a00c57f341de9792e74eed3237ed27848ba8e1f2c549d1c53d278134345b83
3
+ size 62887
metadata/source_snapshot.json ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "column",
8
+ "d_2254",
9
+ "d_8323",
10
+ "d_602",
11
+ "d_566",
12
+ "d_2702",
13
+ "d_105",
14
+ "d_3148",
15
+ "d_8116",
16
+ "d_225",
17
+ "d_3085",
18
+ "d_0",
19
+ "d_29126",
20
+ "column_2",
21
+ "d_2111",
22
+ "d_8788",
23
+ "d_886",
24
+ "d_727",
25
+ "d_2874",
26
+ "d_104",
27
+ "d_2632",
28
+ "d_8836",
29
+ "d_217",
30
+ "d_3442",
31
+ "d_0_2",
32
+ "d_30617",
33
+ "column_3",
34
+ "d_378",
35
+ "d_834",
36
+ "d_7",
37
+ "d_119",
38
+ "d_330",
39
+ "d_1",
40
+ "d_999",
41
+ "d_25",
42
+ "d_23",
43
+ "d_169",
44
+ "d_0_3",
45
+ "d_2885",
46
+ "column_4",
47
+ "d_358",
48
+ "d_1798",
49
+ "d_340",
50
+ "d_221",
51
+ "d_2627",
52
+ "d_1898",
53
+ "d_37",
54
+ "d_40",
55
+ "d_14696",
56
+ "d_331",
57
+ "d_603",
58
+ "d_2310",
59
+ "d_25259",
60
+ "column_5",
61
+ "d_325",
62
+ "d_2331",
63
+ "d_321",
64
+ "d_93",
65
+ "d_2601",
66
+ "1975",
67
+ "d_35",
68
+ "d_31",
69
+ "d_14250",
70
+ "d_336",
71
+ "d_561",
72
+ "d_2287",
73
+ "d_25146",
74
+ "column_6",
75
+ "d_77",
76
+ "d_134",
77
+ "d_82",
78
+ "d_129",
79
+ "d_956",
80
+ "d_99",
81
+ "d_16",
82
+ "d_23_2",
83
+ "d_1739",
84
+ "d_30",
85
+ "d_88",
86
+ "d_100",
87
+ "d_3473",
88
+ "source_provider",
89
+ "source_dataset",
90
+ "source_resource",
91
+ "source_package_id",
92
+ "source_resource_id",
93
+ "source_url",
94
+ "license_id",
95
+ "retrieved_at"
96
+ ],
97
+ "generated_at": "2026-07-16T22:12:46Z",
98
+ "indicator_count": 0,
99
+ "mode": "tabular_resource",
100
+ "repo_id": "electricsheepafrica/africa-morocco-activite-detaillee-des-cours-d-appel-2021-63ccc93e",
101
+ "rows": 22,
102
+ "source": {
103
+ "api_base_url": "https://data.gov.ma/data",
104
+ "country_iso3": "MAR",
105
+ "country_name": "Morocco",
106
+ "group_names": "justice",
107
+ "license_id": "odc-odbl",
108
+ "license_title": "Open Data Commons Open Database License (ODbL)",
109
+ "license_url": "http://www.opendefinition.org/licenses/odc-odbl",
110
+ "organization_id": "3eb339a5-98cb-4a81-b50b-d304fa83e967",
111
+ "organization_name": "ministere-de-la-justice-et-des-libertes",
112
+ "organization_title": "MJ",
113
+ "package_author": "",
114
+ "package_id": "47979de4-3ac5-42b8-9148-65d800cc53de",
115
+ "package_maintainer": "",
116
+ "package_metadata_created": "2022-03-22T10:00:50.562891",
117
+ "package_metadata_modified": "2022-03-22T10:00:58.769353",
118
+ "package_name": "activite-detaillee-des-cours-d-appel-2021",
119
+ "package_notes": "Ce fichier présente l’activité détaillée des Cours d'appel au titre de l’année 2021",
120
+ "package_page_url": "https://data.gov.ma/data/dataset/activite-detaillee-des-cours-d-appel-2021",
121
+ "package_private": "False",
122
+ "package_state": "active",
123
+ "package_title": "Activité détaillée des Cours d'appel 2021",
124
+ "package_version": "",
125
+ "portal_url": "https://data.gov.ma/data",
126
+ "resource_created": "2022-03-22T10:00:58.502458",
127
+ "resource_datastore_active": "False",
128
+ "resource_description": "",
129
+ "resource_format": "XLSX",
130
+ "resource_hash": "",
131
+ "resource_id": "127e6045-a98b-481e-ab21-cf0a4c4968ca",
132
+ "resource_last_modified": "2022-03-22T10:00:58.480320",
133
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
134
+ "resource_name": "النشاط المفصل لمحاكم الاستئناف.xlsx",
135
+ "resource_position": "1",
136
+ "resource_size": "47280",
137
+ "resource_state": "active",
138
+ "resource_url": "https://data.gov.ma/data/fr/dataset/47979de4-3ac5-42b8-9148-65d800cc53de/resource/127e6045-a98b-481e-ab21-cf0a4c4968ca/download/-.xlsx",
139
+ "retrieved_at": "2026-07-16T17:56:59Z",
140
+ "tag_names": "activité; appel; juridictions; justice"
141
+ },
142
+ "year_max": null,
143
+ "year_min": null
144
+ }