interva commited on
Commit
6cff0e3
·
verified ·
1 Parent(s): 177d3bc

Add ML-ready official indicator dataset

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