| --- |
| license: odbl |
| language: |
| - en |
| task_categories: |
| - tabular-classification |
| - tabular-regression |
| multilinguality: monolingual |
| size_categories: |
| - n<1K |
| tags: |
| - tabular |
| - xlsx |
| - africa |
| - morocco |
| - official-statistics |
| - open-data |
| pretty_name: "Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021. | Africa (Morocco official open data)" |
| --- |
| |
| # Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021. | Africa (Morocco official open data) |
|
|
| 20 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica) |
|
|
|  |
|  |
|  |
|  |
|  |
|
|
| ## 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:** [Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021.](https://data.gov.ma/data/dataset/chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-dans-la-region-de-draa-tafilalet-en-2021) |
| - **Publisher:** Centre Régional d'Investissement Drâa Tafilalet |
| - **Resource:** [Open Data - CRI DT 2021 v2.xlsx](https://data.gov.ma/data/fr/dataset/71174484-bf01-41ee-b515-15f65bfbe831/resource/ea17ccc7-df00-4db2-b333-69ee7b748c65/download/open-data-cri-dt-2021-v2.xlsx) |
| - **Format:** `XLSX` |
| - **License:** [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/) |
| - **Packaging mode:** `tabular_resource` |
|
|
| ## Geographic coverage |
|
|
| 1 Africa country: |
|
|
| | Country | Rows | First year | Last year | Name | |
| |---------|-----:|-----------:|----------:|------| |
| | `MAR` | 20 | 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. | `ea17ccc7-df00-4db2-b333-69ee7b748c65:sheet1: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. | `Sheet1` | |
| | `errachidia` | `string` | Source column. | `MIDELT` | |
| | `d_709002375_8` | `float64` | Source column. | `216549496.0` | |
| | `commerce` | `string` | Source column. | `Energie et Mines` | |
| | `d_43117000` | `float64` | Source column. | `1117445716.0` | |
| | `source_provider` | `string` | Publishing organization. | `Centre Régional d'Investissement Drâa Tafilalet` | |
| | `source_dataset` | `string` | Source package title. | `Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la régi` | |
| | `source_resource` | `string` | Source resource title. | `Open Data - CRI DT 2021 v2.xlsx` | |
| | `source_package_id` | `string` | CKAN package UUID. | `71174484-bf01-41ee-b515-15f65bfbe831` | |
| | `source_resource_id` | `string` | CKAN resource UUID. | `ea17ccc7-df00-4db2-b333-69ee7b748c65` | |
| | `source_url` | `string` | Original source resource URL. | `https://data.gov.ma/data/fr/dataset/71174484-bf01-41ee-b515-15f65bfbe831` | |
| | `license_id` | `string` | Source license identifier. | `odc-odbl` | |
| | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-16T21:31:48Z` | |
|
|
| ## Usage |
|
|
| ```python |
| from datasets import load_dataset |
| |
| ds = load_dataset("electricsheepafrica/africa-morocco-chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-8f8498f0") |
| df = ds["train"].to_pandas() |
| print(df.head()) |
| ``` |
|
|
| ### Filter to one country |
|
|
| ```python |
| sample_country = df[df["country_iso3"] == "MAR"] |
| ``` |
|
|
| ### Work with indicators |
|
|
| ```python |
| 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 |
|
|
| ```bibtex |
| @misc{electric_sheep_africa_africa_morocco_chiffres_relatifs_a_l_investissement_en_mad_et_a_l_emploi_8f8498f_2026, |
| title = {Chiffres relatifs à l'investissement (en MAD) et à l'emploi dans la région de Drâa Tafilalet en 2021. | Africa (Morocco official open data)}, |
| author = {Centre Régional d'Investissement Drâa Tafilalet}, |
| year = {2026}, |
| url = {https://data.gov.ma/data/dataset/chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-dans-la-region-de-draa-tafilalet-en-2021}, |
| publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa}, |
| howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-morocco-chiffres-relatifs-a-l-investissement-en-mad-et-a-l-emploi-8f8498f0}} |
| } |
| ``` |
|
|
| ## License |
|
|
| Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/). |
|
|
| Original data (c) Centre Régional d'Investissement Drâa Tafilalet. 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](https://huggingface.co/electricsheepafrica) |
|
|
| --- |
|
|
| Provenance: ingested 2026-07-16 via the Electric Sheep pipeline. Source URL: |
| https://data.gov.ma/data/fr/dataset/71174484-bf01-41ee-b515-15f65bfbe831/resource/ea17ccc7-df00-4db2-b333-69ee7b748c65/download/open-data-cri-dt-2021-v2.xlsx |
|
|