taxapp commited on
Commit
99da916
·
verified ·
1 Parent(s): dde3326

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: "[Archive 2024] Statistiques hebdomadaires des Organismes de Placement Collectif en Valeurs Mobilières (OPCVM) pour l'année 2024 | Africa (Morocco official open data)"
19
+ ---
20
+
21
+ # [Archive 2024] Statistiques hebdomadaires des Organismes de Placement Collectif en Valeurs Mobilières (OPCVM) pour l'année 2024 | Africa (Morocco official open data)
22
+
23
+ 37 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
24
+
25
+ ![rows](https://img.shields.io/badge/rows-37-blue)
26
+ ![countries](https://img.shields.io/badge/countries-1-green)
27
+ ![years](https://img.shields.io/badge/years-not-applicable-orange)
28
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
29
+ ![license](https://img.shields.io/badge/license-odbl-lightgrey)
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:** [[Archive 2024] Statistiques hebdomadaires des Organismes de Placement Collectif en Valeurs Mobilières (OPCVM) pour l'année 2024](https://data.gov.ma/data/dataset/stat-hebdo-opcvm-2024)
40
+ - **Publisher:** AMMC
41
+ - **Resource:** [stat_opcvm_hebdo_ammc_08032024.xlsx](https://data.gov.ma/data/fr/dataset/73564146-ec3b-4366-a0cf-fd0f88baf410/resource/126cb234-9ef3-4800-b70d-a882d34fbbec/download/stat_opcvm_hebdo_ammc_08032024.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` | 37 | 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. | `126cb234-9ef3-4800-b70d-a882d34fbbec:francais: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. | `Français` |
66
+ | `categorie` | `string` | Source column. | `Actions` |
67
+ | `nombre_opcvm` | `string` | Source column. | `111` |
68
+ | `montant` | `string` | Source column. | `46280076651.4552` |
69
+ | `structure` | `string` | Source column. | `7.85855685795225` |
70
+ | `variation_hebdomadaire` | `string` | Source column. | `-0.717983997393437` |
71
+ | `variation_mensuelle` | `float64` | Source column. | `-1.12153109852294` |
72
+ | `variation_annuelle` | `float64` | Source column. | `7.15001371119252` |
73
+ | `column_8` | `string` | Source column. | `` |
74
+ | `source_provider` | `string` | Publishing organization. | `AMMC` |
75
+ | `source_dataset` | `string` | Source package title. | `[Archive 2024] Statistiques hebdomadaires des Organismes de Placement Co` |
76
+ | `source_resource` | `string` | Source resource title. | `stat_opcvm_hebdo_ammc_08032024.xlsx` |
77
+ | `source_package_id` | `string` | CKAN package UUID. | `73564146-ec3b-4366-a0cf-fd0f88baf410` |
78
+ | `source_resource_id` | `string` | CKAN resource UUID. | `126cb234-9ef3-4800-b70d-a882d34fbbec` |
79
+ | `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/fr/dataset/73564146-ec3b-4366-a0cf-fd0f88baf410` |
80
+ | `license_id` | `string` | Source license identifier. | `odc-odbl` |
81
+ | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T21:31:48Z` |
82
+
83
+ ## Usage
84
+
85
+ ```python
86
+ from datasets import load_dataset
87
+
88
+ ds = load_dataset("electricsheepafrica/africa-morocco-archive-2024-statistiques-hebdomadaires-des-organismes-de-49b5b07a")
89
+ df = ds["train"].to_pandas()
90
+ print(df.head())
91
+ ```
92
+
93
+ ### Filter to one country
94
+
95
+ ```python
96
+ sample_country = df[df["country_iso3"] == "MAR"]
97
+ ```
98
+
99
+ ### Work with indicators
100
+
101
+ ```python
102
+ if "indicator_id" in df.columns:
103
+ print(df["indicator_id"].value_counts().head())
104
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
105
+ ```
106
+
107
+ ## Citation
108
+
109
+ ```bibtex
110
+ @misc{electric_sheep_africa_africa_morocco_archive_2024_statistiques_hebdomadaires_des_organismes_de_49b5b07_2026,
111
+ title = {[Archive 2024] Statistiques hebdomadaires des Organismes de Placement Collectif en Valeurs Mobilières (OPCVM) pour l'année 2024 | Africa (Morocco official open data)},
112
+ author = {AMMC},
113
+ year = {2026},
114
+ url = {https://data.gov.ma/data/dataset/stat-hebdo-opcvm-2024},
115
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
116
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-archive-2024-statistiques-hebdomadaires-des-organismes-de-49b5b07a}}
117
+ }
118
+ ```
119
+
120
+ ## License
121
+
122
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
123
+
124
+ Original data (c) AMMC. When using this dataset, please cite both the
125
+ original source above and the Electric Sheep Africa repackaging.
126
+
127
+ ## About Electric Sheep
128
+
129
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
130
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
131
+ open sources, normalize the schemas, package as Parquet, and publish with
132
+ consistent dataset cards so researchers and developers can use `load_dataset()`
133
+ to start working in seconds.
134
+
135
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
136
+
137
+ ---
138
+
139
+ Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL:
140
+ https://data.gov.ma/data/fr/dataset/73564146-ec3b-4366-a0cf-fd0f88baf410/resource/126cb234-9ef3-4800-b70d-a882d34fbbec/download/stat_opcvm_hebdo_ammc_08032024.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a7c6bf4fee7ae92dc12c6ae9c68e7a8002114982e2d4d533b5281ea1ec85557
3
+ size 17014
metadata/source_snapshot.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "categorie",
8
+ "nombre_opcvm",
9
+ "montant",
10
+ "structure",
11
+ "variation_hebdomadaire",
12
+ "variation_mensuelle",
13
+ "variation_annuelle",
14
+ "column_8",
15
+ "source_provider",
16
+ "source_dataset",
17
+ "source_resource",
18
+ "source_package_id",
19
+ "source_resource_id",
20
+ "source_url",
21
+ "license_id",
22
+ "retrieved_at"
23
+ ],
24
+ "generated_at": "2026-07-16T21:46:14Z",
25
+ "indicator_count": 0,
26
+ "mode": "tabular_resource",
27
+ "repo_id": "electricsheepafrica/africa-morocco-archive-2024-statistiques-hebdomadaires-des-organismes-de-49b5b07a",
28
+ "rows": 37,
29
+ "source": {
30
+ "api_base_url": "https://data.gov.ma/data",
31
+ "country_iso3": "MAR",
32
+ "country_name": "Morocco",
33
+ "group_names": "finance",
34
+ "license_id": "odc-odbl",
35
+ "license_title": "Open Data Commons Open Database License (ODbL)",
36
+ "license_url": "https://opendefinition.org/licenses/odc-odbl",
37
+ "organization_id": "da9cc00c-75b7-469e-945e-e7e6fc09a2e2",
38
+ "organization_name": "ammc",
39
+ "organization_title": "AMMC",
40
+ "package_author": "",
41
+ "package_id": "73564146-ec3b-4366-a0cf-fd0f88baf410",
42
+ "package_maintainer": "",
43
+ "package_metadata_created": "2025-01-02T15:40:23.608123",
44
+ "package_metadata_modified": "2025-01-16T09:20:19.655797",
45
+ "package_name": "stat-hebdo-opcvm-2024",
46
+ "package_notes": "Ce fichier présente les statistiques hebdomadaires (actif net par catégorie OPCVM, indices de performance, souscriptions et rachats par catégorie OPCVM, etc.) des Organismes de Placement Collectif en Valeurs Mobilières (OPCVM) pour l'année 2024",
47
+ "package_page_url": "https://data.gov.ma/data/dataset/stat-hebdo-opcvm-2024",
48
+ "package_private": "False",
49
+ "package_state": "active",
50
+ "package_title": "[Archive 2024] Statistiques hebdomadaires des Organismes de Placement Collectif en Valeurs Mobilières (OPCVM) pour l'année 2024",
51
+ "package_version": "",
52
+ "portal_url": "https://data.gov.ma/data",
53
+ "resource_created": "2025-01-16T08:07:13.913565",
54
+ "resource_datastore_active": "False",
55
+ "resource_description": "",
56
+ "resource_format": "XLSX",
57
+ "resource_hash": "",
58
+ "resource_id": "126cb234-9ef3-4800-b70d-a882d34fbbec",
59
+ "resource_last_modified": "2025-01-16T08:07:13.880321",
60
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
61
+ "resource_name": "stat_opcvm_hebdo_ammc_08032024.xlsx",
62
+ "resource_position": "15",
63
+ "resource_size": "55276",
64
+ "resource_state": "active",
65
+ "resource_url": "https://data.gov.ma/data/fr/dataset/73564146-ec3b-4366-a0cf-fd0f88baf410/resource/126cb234-9ef3-4800-b70d-a882d34fbbec/download/stat_opcvm_hebdo_ammc_08032024.xlsx",
66
+ "retrieved_at": "2026-07-16T17:56:59Z",
67
+ "tag_names": ""
68
+ },
69
+ "year_max": null,
70
+ "year_min": null
71
+ }