File size: 8,370 Bytes
f4534ad
 
 
 
 
 
 
c9189b3
f4534ad
 
 
c9189b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f4534ad
 
c9189b3
f4534ad
c9189b3
f4534ad
 
 
c9189b3
f4534ad
 
 
 
 
c9189b3
f4534ad
c9189b3
f4534ad
c9189b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f4534ad
c9189b3
f4534ad
c9189b3
f4534ad
c9189b3
 
f4534ad
 
c9189b3
f4534ad
c9189b3
f4534ad
 
 
 
 
c9189b3
 
 
 
 
 
 
 
 
 
f4534ad
c9189b3
 
 
 
 
f4534ad
c9189b3
f4534ad
 
 
 
 
 
 
 
 
 
 
c9189b3
f4534ad
 
c9189b3
 
f4534ad
 
c9189b3
f4534ad
 
c9189b3
 
f4534ad
 
c9189b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f4534ad
 
 
 
c9189b3
f4534ad
 
 
c9189b3
f4534ad
 
 
 
 
 
 
 
c9189b3
 
 
f4534ad
c9189b3
f4534ad
c9189b3
f4534ad
 
 
c9189b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
---
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)*

![rows](https://img.shields.io/badge/rows-134-blue)
![countries](https://img.shields.io/badge/countries-1-green)
![period](https://img.shields.io/badge/period-time%20not%20specified-orange)
![indicators](https://img.shields.io/badge/indicators-0-purple)
![license](https://img.shields.io/badge/license-odbl-lightgrey)

## 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