Add ML-ready official indicator dataset
Browse files- README.md +138 -0
- data/train-00000-of-00001.parquet +3 -0
- metadata/source_snapshot.json +69 -0
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: "Activité détaillée des Cours d'appel de commerce en 2022 | Africa (Morocco official open data)"
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Activité détaillée des Cours d'appel de commerce en 2022 | Africa (Morocco official open data)
|
| 22 |
+
|
| 23 |
+
38 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+

|
| 27 |
+

|
| 28 |
+

|
| 29 |
+

|
| 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:** [Activité détaillée des Cours d'appel de commerce en 2022](https://data.gov.ma/data/dataset/activite-detaillee-des-cours-d-appel-de-commerce-en-2022)
|
| 40 |
+
- **Publisher:** MJ
|
| 41 |
+
- **Resource:** [النشاط المفصل لمحاكم الاستئناف التجارية.xlsx](https://data.gov.ma/data/ar/dataset/10523db3-bc2d-49e7-bd5f-ab6a7b942391/resource/1e19d04b-3abe-43c8-b4f4-a3b6661ea958/download/-.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` | 38 | 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. | `1e19d04b-3abe-43c8-b4f4-a3b6661ea958: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. | `الاستعجالي` |
|
| 67 |
+
| `d_2021` | `float64` | Source column. | `211.0` |
|
| 68 |
+
| `d_2022` | `float64` | Source column. | `919.0` |
|
| 69 |
+
| `d_2022_2` | `float64` | Source column. | `1130.0` |
|
| 70 |
+
| `d_2022_3` | `float64` | Source column. | `869.0` |
|
| 71 |
+
| `d_2022_4` | `float64` | Source column. | `261.0` |
|
| 72 |
+
| `source_provider` | `string` | Publishing organization. | `MJ` |
|
| 73 |
+
| `source_dataset` | `string` | Source package title. | `Activité détaillée des Cours d'appel de commerce en 2022` |
|
| 74 |
+
| `source_resource` | `string` | Source resource title. | `النشاط المفصل لمحاكم الاستئناف التجارية.xlsx` |
|
| 75 |
+
| `source_package_id` | `string` | CKAN package UUID. | `10523db3-bc2d-49e7-bd5f-ab6a7b942391` |
|
| 76 |
+
| `source_resource_id` | `string` | CKAN resource UUID. | `1e19d04b-3abe-43c8-b4f4-a3b6661ea958` |
|
| 77 |
+
| `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/ar/dataset/10523db3-bc2d-49e7-bd5f-ab6a7b942391` |
|
| 78 |
+
| `license_id` | `string` | Source license identifier. | `odc-odbl` |
|
| 79 |
+
| `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T21:31:48Z` |
|
| 80 |
+
|
| 81 |
+
## Usage
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
from datasets import load_dataset
|
| 85 |
+
|
| 86 |
+
ds = load_dataset("electricsheepafrica/africa-morocco-activite-detaillee-des-cours-d-appel-de-commerce-en-2022-604e089d")
|
| 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_activite_detaillee_des_cours_d_appel_de_commerce_en_2022_604e089d_2026,
|
| 109 |
+
title = {Activité détaillée des Cours d'appel de commerce en 2022 | Africa (Morocco official open data)},
|
| 110 |
+
author = {MJ},
|
| 111 |
+
year = {2026},
|
| 112 |
+
url = {https://data.gov.ma/data/dataset/activite-detaillee-des-cours-d-appel-de-commerce-en-2022},
|
| 113 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 114 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-activite-detaillee-des-cours-d-appel-de-commerce-en-2022-604e089d}}
|
| 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) MJ. 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/10523db3-bc2d-49e7-bd5f-ab6a7b942391/resource/1e19d04b-3abe-43c8-b4f4-a3b6661ea958/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:e674ac84918ecab7e28629f97f31ba37e83076a7d0d84ee01194e92efc440225
|
| 3 |
+
size 14121
|
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 |
+
"d_2021",
|
| 9 |
+
"d_2022",
|
| 10 |
+
"d_2022_2",
|
| 11 |
+
"d_2022_3",
|
| 12 |
+
"d_2022_4",
|
| 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:10:20Z",
|
| 23 |
+
"indicator_count": 0,
|
| 24 |
+
"mode": "tabular_resource",
|
| 25 |
+
"repo_id": "electricsheepafrica/africa-morocco-activite-detaillee-des-cours-d-appel-de-commerce-en-2022-604e089d",
|
| 26 |
+
"rows": 38,
|
| 27 |
+
"source": {
|
| 28 |
+
"api_base_url": "https://data.gov.ma/data",
|
| 29 |
+
"country_iso3": "MAR",
|
| 30 |
+
"country_name": "Morocco",
|
| 31 |
+
"group_names": "justice",
|
| 32 |
+
"license_id": "odc-odbl",
|
| 33 |
+
"license_title": "ترخيص قاعدة المعطيات المفتوح التابع لمشاع المعطيات المفتوحة (ODbL)",
|
| 34 |
+
"license_url": "http://www.opendefinition.org/licenses/odc-odbl",
|
| 35 |
+
"organization_id": "3eb339a5-98cb-4a81-b50b-d304fa83e967",
|
| 36 |
+
"organization_name": "ministere-de-la-justice-et-des-libertes",
|
| 37 |
+
"organization_title": "MJ",
|
| 38 |
+
"package_author": "",
|
| 39 |
+
"package_id": "10523db3-bc2d-49e7-bd5f-ab6a7b942391",
|
| 40 |
+
"package_maintainer": "",
|
| 41 |
+
"package_metadata_created": "2023-06-23T23:15:07.551699",
|
| 42 |
+
"package_metadata_modified": "2023-06-24T15:20:09.329466",
|
| 43 |
+
"package_name": "activite-detaillee-des-cours-d-appel-de-commerce-en-2022",
|
| 44 |
+
"package_notes": "Ce fichier présente l'activité détaillée des Cours d'appel de commerce en 2022",
|
| 45 |
+
"package_page_url": "https://data.gov.ma/data/dataset/activite-detaillee-des-cours-d-appel-de-commerce-en-2022",
|
| 46 |
+
"package_private": "False",
|
| 47 |
+
"package_state": "active",
|
| 48 |
+
"package_title": "Activité détaillée des Cours d'appel de commerce en 2022",
|
| 49 |
+
"package_version": "",
|
| 50 |
+
"portal_url": "https://data.gov.ma/data",
|
| 51 |
+
"resource_created": "2023-06-23T23:15:32.293360",
|
| 52 |
+
"resource_datastore_active": "False",
|
| 53 |
+
"resource_description": "",
|
| 54 |
+
"resource_format": "XLSX",
|
| 55 |
+
"resource_hash": "",
|
| 56 |
+
"resource_id": "1e19d04b-3abe-43c8-b4f4-a3b6661ea958",
|
| 57 |
+
"resource_last_modified": "2023-06-23T23:15:32.273927",
|
| 58 |
+
"resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
| 59 |
+
"resource_name": "النشاط المفصل لمحاكم الاستئناف التجارية.xlsx",
|
| 60 |
+
"resource_position": "1",
|
| 61 |
+
"resource_size": "24106",
|
| 62 |
+
"resource_state": "active",
|
| 63 |
+
"resource_url": "https://data.gov.ma/data/ar/dataset/10523db3-bc2d-49e7-bd5f-ab6a7b942391/resource/1e19d04b-3abe-43c8-b4f4-a3b6661ea958/download/-.xlsx",
|
| 64 |
+
"retrieved_at": "2026-07-16T17:56:59Z",
|
| 65 |
+
"tag_names": "Activité; Commerce; Cour Appel; Tribunaux"
|
| 66 |
+
},
|
| 67 |
+
"year_max": null,
|
| 68 |
+
"year_min": null
|
| 69 |
+
}
|