source_record_id stringclasses 9
values | country_iso3 stringclasses 1
value | country_name stringclasses 1
value | source_sheet stringclasses 2
values | composante_de_revenu stringclasses 5
values | 2007 float64 19k 648k ⌀ | 2008 float64 33.9k 717k ⌀ | 2009 float64 14.7k 748k ⌀ | 2010 float64 31.3k 785k ⌀ | 2011 float64 52.2k 820k ⌀ | 2012 float64 56.2k 848k ⌀ | 2013 float64 42.2k 898k ⌀ | 2014 float64 32.1k 925k ⌀ | 2015 float64 14.6k 988k ⌀ | 2016 float64 12.6k 1.01M ⌀ | 2017 float64 16.5k 1.06M ⌀ | 2018 float64 14.5k 1.11M ⌀ | 2019 float64 15.5k 1.15M ⌀ | source_provider stringclasses 1
value | source_dataset stringclasses 1
value | source_resource stringclasses 1
value | source_package_id stringclasses 1
value | source_resource_id stringclasses 1
value | source_url stringclasses 1
value | license_id stringclasses 1
value | retrieved_at stringdate 2026-07-16 21:31:48 2026-07-16 21:31:48 | l_indicateur stringclasses 4
values | produit_interieur_brut_approche_par_le_revenu_annuelle_b stringclasses 3
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c123d177-5055-4786-b8d6-e60acf0d05c3:data:0 | MAR | Morocco | Data | Total | 647,530 | 716,959 | 748,483 | 784,624 | 820,077 | 847,881 | 897,923 | 925,376 | 987,950 | 1,013,229 | 1,063,045 | 1,108,463 | 1,152,806 | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | null | null |
c123d177-5055-4786-b8d6-e60acf0d05c3:data:1 | MAR | Morocco | Data | Rémunérations de salariés | 203,811 | 219,527 | 233,931 | 244,305 | 265,885 | 282,084 | 293,755 | 305,248 | 312,560 | 320,966 | 328,045 | 340,054 | 354,499 | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | null | null |
c123d177-5055-4786-b8d6-e60acf0d05c3:data:2 | MAR | Morocco | Data | Excédent brut d’exploitation et revenu mixte brut | 365,377 | 417,752 | 422,556 | 451,334 | 481,414 | 490,363 | 513,921 | 515,648 | 550,278 | 561,148 | 601,070 | 625,390 | 651,943 | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | null | null |
c123d177-5055-4786-b8d6-e60acf0d05c3:data:3 | MAR | Morocco | Data | Impôts sur la production et les importations | 97,311 | 113,544 | 106,660 | 120,238 | 124,937 | 131,622 | 132,485 | 136,562 | 139,759 | 143,763 | 150,406 | 157,501 | 161,912 | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | null | null |
c123d177-5055-4786-b8d6-e60acf0d05c3:data:4 | MAR | Morocco | Data | Subventions | 18,969 | 33,864 | 14,664 | 31,253 | 52,159 | 56,188 | 42,238 | 32,082 | 14,647 | 12,648 | 16,476 | 14,482 | 15,548 | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | null | null |
c123d177-5055-4786-b8d6-e60acf0d05c3:metadata:0 | MAR | Morocco | Metadata | null | null | null | null | null | null | null | null | null | null | null | null | null | null | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | Définition | null |
c123d177-5055-4786-b8d6-e60acf0d05c3:metadata:1 | MAR | Morocco | Metadata | null | null | null | null | null | null | null | null | null | null | null | null | null | null | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | Periodicité | annuelle |
c123d177-5055-4786-b8d6-e60acf0d05c3:metadata:2 | MAR | Morocco | Metadata | null | null | null | null | null | null | null | null | null | null | null | null | null | null | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | Unité | Millions de dhs |
c123d177-5055-4786-b8d6-e60acf0d05c3:metadata:3 | MAR | Morocco | Metadata | null | null | null | null | null | null | null | null | null | null | null | null | null | null | HCP | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | I_12.25.xlsx | 58e60e3f-050c-4e47-9230-4cdfc75fc199 | c123d177-5055-4786-b8d6-e60acf0d05c3 | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx | odc-odbl | 2026-07-16T21:31:48Z | Source | Direction de la comptabilité nationale |
Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | Africa (Morocco official open data)
9 rows - 1 Africa country - not-applicable - Repackaged by Electric Sheep Africa
TL;DR
This dataset packages one official XLSX resource from Morocco as
ML-ready Parquet. The source file is the provenance boundary; all usable
indicators or tabular columns from the resource stay together in this repo.
About the source
- Source: Produit intérieur brut (approche par le revenu) (Annuelle Base 2007)
- Publisher: HCP
- Resource: I_12.25.xlsx
- Format:
XLSX - License: Open Data Commons Open Database License
- Packaging mode:
tabular_resource
Geographic coverage
1 Africa country:
| Country | Rows | First year | Last year | Name |
|---|---|---|---|---|
MAR |
9 | n/a | n/a | Morocco |
Indicators or Resource Contents
- This source file is packaged as a normalized tabular resource.
Schema
| Column | Type | Description | Example |
|---|---|---|---|
source_record_id |
string |
Stable row identifier for tabular resources. | c123d177-5055-4786-b8d6-e60acf0d05c3:data:0 |
country_iso3 |
string |
ISO3 country code. | MAR |
country_name |
string |
Country name. | Morocco |
source_sheet |
string |
Workbook sheet name, when the source is a spreadsheet. | Data |
composante_de_revenu |
string |
Source column. | Total |
2007 |
float64 |
Source column. | 647530.0 |
2008 |
float64 |
Source column. | 716959.0 |
2009 |
float64 |
Source column. | 748483.0 |
2010 |
float64 |
Source column. | 784624.0 |
2011 |
float64 |
Source column. | 820077.0 |
2012 |
float64 |
Source column. | 847881.0 |
2013 |
float64 |
Source column. | 897923.0 |
2014 |
float64 |
Source column. | 925376.0 |
2015 |
float64 |
Source column. | 987950.0 |
2016 |
float64 |
Source column. | 1013229.0 |
2017 |
float64 |
Source column. | 1063045.0 |
2018 |
float64 |
Source column. | 1108463.0 |
2019 |
float64 |
Source column. | 1152806.0 |
source_provider |
string |
Publishing organization. | HCP |
source_dataset |
string |
Source package title. | Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) |
source_resource |
string |
Source resource title. | I_12.25.xlsx |
source_package_id |
string |
CKAN package UUID. | 58e60e3f-050c-4e47-9230-4cdfc75fc199 |
source_resource_id |
string |
CKAN resource UUID. | c123d177-5055-4786-b8d6-e60acf0d05c3 |
source_url |
string |
Original source resource URL. | https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/re |
license_id |
string |
Source license identifier. | odc-odbl |
retrieved_at |
string |
UTC retrieval timestamp. | 2026-07-16T21:31:48Z |
l_indicateur |
string |
Source column. | `` |
produit_interieur_brut_approche_par_le_revenu_annuelle_b |
string |
Source column. | `` |
Usage
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-morocco-produit-interieur-brut-approche-par-le-revenu-annuelle-bas-d25e042e")
df = ds["train"].to_pandas()
print(df.head())
Filter to one country
sample_country = df[df["country_iso3"] == "MAR"]
Work with indicators
if "indicator_id" in df.columns:
print(df["indicator_id"].value_counts().head())
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
Citation
@misc{electric_sheep_africa_africa_morocco_produit_interieur_brut_approche_par_le_revenu_annuelle_bas_d25e04_2026,
title = {Produit intérieur brut (approche par le revenu) (Annuelle Base 2007) | Africa (Morocco official open data)},
author = {HCP},
year = {2026},
url = {https://data.gov.ma/data/dataset/data_12_25},
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-produit-interieur-brut-approche-par-le-revenu-annuelle-bas-d25e042e}}
}
License
Released under Open Data Commons Open Database License.
Original data (c) HCP. When using this dataset, please cite both the original source above and the Electric Sheep Africa repackaging.
About Electric Sheep
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
open sources, normalize the schemas, package as Parquet, and publish with
consistent dataset cards so researchers and developers can use load_dataset()
to start working in seconds.
Browse the full collection: huggingface.co/electricsheepafrica
Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL: https://data.gov.ma/data/dataset/58e60e3f-050c-4e47-9230-4cdfc75fc199/resource/c123d177-5055-4786-b8d6-e60acf0d05c3/download/i_12.25.xlsx
- Downloads last month
- 25