| --- |
| license: odbl |
| language: |
| - en |
| task_categories: |
| - tabular-classification |
| - tabular-regression |
| multilinguality: multilingual |
| size_categories: |
| - n<1K |
| tags: |
| - "tabular" |
| - "africa" |
| - "open-data" |
| - "official-statistics" |
| - "morocco" |
| - "mj" |
| - "morocco-open-data" |
| - "justice" |
| - "tribunaux-administratifs" |
| - "activite" |
| - "tribunaux" |
| configs: |
| - config_name: default |
| data_files: |
| - split: train |
| path: data/train-00000-of-00001.parquet |
| pretty_name: "Activite Detaillee Des Tribunaux Administratifs | Africa (Morocco Open Data)" |
| --- |
| |
| # Activite Detaillee Des Tribunaux Administratifs | Africa (Morocco Open Data) |
|
|
| **134 rows** - **1 Africa country/area** - **time not specified** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)* |
|
|
|  |
|  |
|  |
|  |
|  |
|
|
| ## TL;DR |
|
|
| This dataset contains **134 rows** from **Morocco Open Data**, covering **Activite Detaillee Des Tribunaux Administratifs**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples. |
|
|
| ## What This Dataset Measures |
|
|
| Official statistics datasets help analysts inspect public data as published by governments, national statistical systems, and regional data portals. |
|
|
| Source-provided context: Ce fichier présente l'activité détaillée des tribunaux administratifs |
|
|
| ## How To Read This Dataset |
|
|
| - **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available. |
| - **Primary geography column:** `country_iso3`. |
| - **Best time column:** `not detected`. |
| - **Time coverage basis:** not detected. |
| - **Recommended join keys:** `country_iso3` where available plus source-specific keys. |
|
|
| ## Coverage |
|
|
| | Dimension | Value | |
| |---|---:| |
| | Rows | 134 | |
| | Countries/areas | 1 | |
| | First period | n/a | |
| | Last period | n/a | |
| | Indicators | 0 | |
| | Columns | 18 | |
| | Source format | XLSX | |
|
|
| ## Geographic Coverage |
|
|
| Top areas shown below, sorted by row count when available: |
|
|
| | Area | Rows | First year | Last year | Name | |
| |------|-----:|-----------:|----------:|------| |
| | `MAR` | 134 | n/a | n/a | `Morocco` | |
|
|
| ## Indicators, Variables, Or Resource Contents |
|
|
| - This repo preserves one source tabular resource with its usable columns kept together. |
|
|
| ## Schema |
|
|
| | Column | Type | Description | Example | |
| |--------|------|-------------|---------| |
| | `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `947d96a6-406b-47de-aa8b-da574b4e3fe9:dataset:0` | |
| | `country_iso3` | `string` | ISO3 country or area code. | `MAR` | |
| | `country_name` | `string` | Country or area name. | `Morocco` | |
| | `source_sheet` | `string` | Source column from the original resource. | `ادارية مفصل` | |
| | `column` | `string` | Source column from the original resource. | `الاستعجالي` | |
| | `d_2023` | `double` | Source column from the original resource. | `116.0` | |
| | `d_2024` | `double` | Source column from the original resource. | `2026.0` | |
| | `d_2024_2` | `double` | Source column from the original resource. | `2142.0` | |
| | `d_2024_3` | `double` | Source column from the original resource. | `2101.0` | |
| | `d_2024_4` | `double` | Source column from the original resource. | `41.0` | |
| | `source_provider` | `string` | Publishing organization. | `MJ` | |
| | `source_dataset` | `string` | Source dataset or package title. | `Activité détaillée des tribunaux administratifs` | |
| | `source_resource` | `string` | Source resource title, table name, or file name. | `النشاط المفصل للمحاكم الإدارية سنة 2024.xlsx` | |
| | `source_package_id` | `string` | Source package identifier. | `d274abbb-390e-4058-a270-7f8d0d296298` | |
| | `source_resource_id` | `string` | Source resource identifier. | `947d96a6-406b-47de-aa8b-da574b4e3fe9` | |
| | `source_url` | `string` | Original source URL or download URL. | `https://data.gov.ma/data/ar/dataset/d274abbb-390e-4058-a270-7f8d0d296...` | |
| | `license_id` | `string` | Source license identifier. | `odc-odbl` | |
| | `retrieved_at` | `string` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-16T21:31:48Z` | |
|
|
| ## Usage |
|
|
| ```python |
| from datasets import load_dataset |
| |
| ds = load_dataset("electricsheepafrica/africa-morocco-activite-detaillee-des-tribunaux-administratifs-76be0687") |
| df = ds["train"].to_pandas() |
| print(df.head()) |
| ``` |
|
|
| ### Inspect Columns |
|
|
| ```python |
| print(df.info()) |
| print(df.head()) |
| ``` |
|
|
| ### Filter By Geography |
|
|
| ```python |
| if "country_iso3" in df.columns: |
| sample = df[df["country_iso3"] == "MAR"] |
| ``` |
|
|
| ### Time-Series Pattern |
|
|
| ```python |
| if "value" in df.columns and "year" in df.columns: |
| trend = df.sort_values("year") |
| ``` |
|
|
| ### Pivot For Analysis |
|
|
| ```python |
| if {"indicator_id", "year", "value"}.issubset(df.columns): |
| matrix = df.pivot_table(index="year", columns="indicator_id", values="value") |
| print(matrix.tail()) |
| ``` |
|
|
| ## Data Quality Notes |
|
|
| - No canonical year/date column was detected in the packaged table; use source metadata and domain context for temporal interpretation. |
| - Missing values are preserved rather than silently imputed. |
| - Column names are standardized for machine use; source meanings are preserved where known. |
| - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use. |
|
|
| ## Source And Provenance |
|
|
| - **Source:** [Morocco Open Data](https://data.gov.ma/data/dataset/activite-detaillee-des-tribunaux-administratifs-en-2023) |
| - **Publisher:** MJ |
| - **Portal:** [https://data.gov.ma/data](https://data.gov.ma/data) |
| - **Resource:** [النشاط المفصل للمحاكم الإدارية سنة 2024.xlsx](https://data.gov.ma/data/ar/dataset/d274abbb-390e-4058-a270-7f8d0d296298/resource/947d96a6-406b-47de-aa8b-da574b4e3fe9/download/-2024.xlsx) |
| - **License:** [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/) |
| - **Retrieved/generated:** `2026-07-16T21:32:48Z` |
| - **Hugging Face repo:** [electricsheepafrica/africa-morocco-activite-detaillee-des-tribunaux-administratifs-76be0687](https://huggingface.co/datasets/electricsheepafrica/africa-morocco-activite-detaillee-des-tribunaux-administratifs-76be0687) |
|
|
| ## Transformations Applied |
|
|
| - Converted the source table to Parquet for efficient analytics and ML workflows. |
| - Added or preserved source provenance columns where available. |
| - Standardized README metadata, dataset loading configuration, schema documentation, and citation format. |
| - Preserved source-reported values without analytical imputation. |
|
|
| ## Suggested Analyses |
|
|
| - Profile the distribution of values |
| - Compare categories or geographies |
| - Join with complementary public datasets |
| - Check missingness before modeling |
| - Use `country_iso3` as the safest geography join key when present |
|
|
| ## Citation |
|
|
| ```bibtex |
| @misc{electric_sheep_africa_africa_morocco_activite_detaillee_des_tribunaux_administratifs_76be0687_2026, |
| title = {Activite Detaillee Des Tribunaux Administratifs | Africa (Morocco Open Data)}, |
| author = {MJ}, |
| year = {2026}, |
| url = {https://data.gov.ma/data/dataset/activite-detaillee-des-tribunaux-administratifs-en-2023}, |
| publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa}, |
| howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-activite-detaillee-des-tribunaux-administratifs-76be0687}} |
| } |
| ``` |
|
|
| ## License |
|
|
| Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/). |
|
|
| Original data is published by MJ. Electric Sheep Africa |
| engineering standardizes the data for discovery, loading, and analysis on |
| Hugging Face. Cite both the original source and this ML-ready dataset when used. |
|
|
| ## About Electric Sheep Africa |
|
|
| Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face. |
|
|
| --- |
|
|
| Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.gov.ma/data/dataset/activite-detaillee-des-tribunaux-administratifs-en-2023 |
|
|