interva commited on
Commit
cc8f180
·
verified ·
1 Parent(s): 0f90e3f

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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é générale des Cours d'appel administratives et des Tribunaux administratifs en 2021 | Africa (Morocco official open data)"
20
+ ---
21
+
22
+ # Activité générale des Cours d'appel administratives et des Tribunaux administratifs en 2021 | Africa (Morocco official open data)
23
+
24
+ 14 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
25
+
26
+ ![rows](https://img.shields.io/badge/rows-14-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é générale des Cours d'appel administratives et des Tribunaux administratifs en 2021](https://data.gov.ma/data/dataset/activite-generale-des-cours-d-appel-administratives-et-des-tribunaux-administratifs-en-2021)
41
+ - **Publisher:** MJ
42
+ - **Resource:** [النشاط العام لمحكمتي الاستئناف الإداريتين و المحاكم الإدارية.xlsx](https://data.gov.ma/data/fr/dataset/2b319dae-6136-4023-a12b-14d6a541e005/resource/8249a5cd-9e75-4584-9fd8-46a573bfcd6d/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` | 14 | 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. | `8249a5cd-9e75-4584-9fd8-46a573bfcd6d:dataset: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. | `اس إدارية وإدارية نشاط عام` |
67
+ | `column` | `string` | Source column. | `محكمة الاستئناف الإدارية بمراكش` |
68
+ | `d_3869` | `float64` | Source column. | `535.0` |
69
+ | `d_4051` | `float64` | Source column. | `1875.0` |
70
+ | `d_7920` | `float64` | Source column. | `2410.0` |
71
+ | `d_2834` | `float64` | Source column. | `1508.0` |
72
+ | `d_5086` | `float64` | Source column. | `838.0` |
73
+ | `d_3338` | `float64` | Source column. | `2171.0` |
74
+ | `d_10141` | `float64` | Source column. | `2220.0` |
75
+ | `d_13479` | `float64` | Source column. | `4391.0` |
76
+ | `d_9640` | `float64` | Source column. | `2596.0` |
77
+ | `d_3839` | `float64` | Source column. | `1795.0` |
78
+ | `source_provider` | `string` | Publishing organization. | `MJ` |
79
+ | `source_dataset` | `string` | Source package title. | `Activité générale des Cours d'appel administratives et des Tribunaux adm` |
80
+ | `source_resource` | `string` | Source resource title. | `النشاط العام لمحكمتي الاستئناف الإداريتين و المحاكم الإدارية.xlsx` |
81
+ | `source_package_id` | `string` | CKAN package UUID. | `2b319dae-6136-4023-a12b-14d6a541e005` |
82
+ | `source_resource_id` | `string` | CKAN resource UUID. | `8249a5cd-9e75-4584-9fd8-46a573bfcd6d` |
83
+ | `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/fr/dataset/2b319dae-6136-4023-a12b-14d6a541e005` |
84
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
85
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T21:31:48Z` |
86
+
87
+ ## Usage
88
+
89
+ ```python
90
+ from datasets import load_dataset
91
+
92
+ ds = load_dataset("electricsheepafrica/africa-morocco-activite-generale-des-cours-d-appel-administratives-et-des-57d6d607")
93
+ df = ds["train"].to_pandas()
94
+ print(df.head())
95
+ ```
96
+
97
+ ### Filter to one country
98
+
99
+ ```python
100
+ sample_country = df[df["country_iso3"] == "MAR"]
101
+ ```
102
+
103
+ ### Work with indicators
104
+
105
+ ```python
106
+ if "indicator_id" in df.columns:
107
+ print(df["indicator_id"].value_counts().head())
108
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
109
+ ```
110
+
111
+ ## Citation
112
+
113
+ ```bibtex
114
+ @misc{electric_sheep_africa_africa_morocco_activite_generale_des_cours_d_appel_administratives_et_des_57d6d6_2026,
115
+ title = {Activité générale des Cours d'appel administratives et des Tribunaux administratifs en 2021 | Africa (Morocco official open data)},
116
+ author = {MJ},
117
+ year = {2026},
118
+ url = {https://data.gov.ma/data/dataset/activite-generale-des-cours-d-appel-administratives-et-des-tribunaux-administratifs-en-2021},
119
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
120
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-activite-generale-des-cours-d-appel-administratives-et-des-57d6d607}}
121
+ }
122
+ ```
123
+
124
+ ## License
125
+
126
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
127
+
128
+ Original data (c) MJ. When using this dataset, please cite both the
129
+ original source above and the Electric Sheep Africa repackaging.
130
+
131
+ ## About Electric Sheep
132
+
133
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
134
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
135
+ open sources, normalize the schemas, package as Parquet, and publish with
136
+ consistent dataset cards so researchers and developers can use `load_dataset()`
137
+ to start working in seconds.
138
+
139
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
140
+
141
+ ---
142
+
143
+ Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
144
+ https://data.gov.ma/data/fr/dataset/2b319dae-6136-4023-a12b-14d6a541e005/resource/8249a5cd-9e75-4584-9fd8-46a573bfcd6d/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:d5b400d3e0ca05f2b69969209b47ed31c473da5c322d0617b4302d8f53313e28
3
+ size 17094
metadata/source_snapshot.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "column",
8
+ "d_3869",
9
+ "d_4051",
10
+ "d_7920",
11
+ "d_2834",
12
+ "d_5086",
13
+ "d_3338",
14
+ "d_10141",
15
+ "d_13479",
16
+ "d_9640",
17
+ "d_3839",
18
+ "source_provider",
19
+ "source_dataset",
20
+ "source_resource",
21
+ "source_package_id",
22
+ "source_resource_id",
23
+ "source_url",
24
+ "license_id",
25
+ "retrieved_at"
26
+ ],
27
+ "generated_at": "2026-07-16T22:12:54Z",
28
+ "indicator_count": 0,
29
+ "mode": "tabular_resource",
30
+ "repo_id": "electricsheepafrica/africa-morocco-activite-generale-des-cours-d-appel-administratives-et-des-57d6d607",
31
+ "rows": 14,
32
+ "source": {
33
+ "api_base_url": "https://data.gov.ma/data",
34
+ "country_iso3": "MAR",
35
+ "country_name": "Morocco",
36
+ "group_names": "justice",
37
+ "license_id": "odc-odbl",
38
+ "license_title": "Open Data Commons Open Database License (ODbL)",
39
+ "license_url": "http://www.opendefinition.org/licenses/odc-odbl",
40
+ "organization_id": "3eb339a5-98cb-4a81-b50b-d304fa83e967",
41
+ "organization_name": "ministere-de-la-justice-et-des-libertes",
42
+ "organization_title": "MJ",
43
+ "package_author": "",
44
+ "package_id": "2b319dae-6136-4023-a12b-14d6a541e005",
45
+ "package_maintainer": "",
46
+ "package_metadata_created": "2022-03-22T09:49:31.587440",
47
+ "package_metadata_modified": "2022-03-22T09:49:42.750714",
48
+ "package_name": "activite-generale-des-cours-d-appel-administratives-et-des-tribunaux-administratifs-en-2021",
49
+ "package_notes": "Ce fichier présente l'activité générale des Cours d'appel administratives et des Tribunaux administratifs au titre de l'année 2021",
50
+ "package_page_url": "https://data.gov.ma/data/dataset/activite-generale-des-cours-d-appel-administratives-et-des-tribunaux-administratifs-en-2021",
51
+ "package_private": "False",
52
+ "package_state": "active",
53
+ "package_title": "Activité générale des Cours d'appel administratives et des Tribunaux administratifs en 2021",
54
+ "package_version": "",
55
+ "portal_url": "https://data.gov.ma/data",
56
+ "resource_created": "2022-03-22T09:49:42.448955",
57
+ "resource_datastore_active": "False",
58
+ "resource_description": "",
59
+ "resource_format": "XLSX",
60
+ "resource_hash": "",
61
+ "resource_id": "8249a5cd-9e75-4584-9fd8-46a573bfcd6d",
62
+ "resource_last_modified": "2022-03-22T09:49:42.426765",
63
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
64
+ "resource_name": "النشاط العام لمحكمتي الاستئناف الإداريتين و المحاكم الإدارية.xlsx",
65
+ "resource_position": "1",
66
+ "resource_size": "20756",
67
+ "resource_state": "active",
68
+ "resource_url": "https://data.gov.ma/data/fr/dataset/2b319dae-6136-4023-a12b-14d6a541e005/resource/8249a5cd-9e75-4584-9fd8-46a573bfcd6d/download/-.xlsx",
69
+ "retrieved_at": "2026-07-16T17:56:59Z",
70
+ "tag_names": "administrative; appel; juridictions; justice"
71
+ },
72
+ "year_max": null,
73
+ "year_min": null
74
+ }