CollosaAI commited on
Commit
fca3883
·
verified ·
1 Parent(s): 3bacc1d

Add ML-ready official indicator dataset

Browse files
README.md ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - senegal
16
+ - official-statistics
17
+ - open-data
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/train-00000-of-00001.parquet
23
+ pretty_name: "Déficit /Excédent pluviométrique | Africa (Senegal official open data)"
24
+ ---
25
+
26
+ # Déficit /Excédent pluviométrique | Africa (Senegal official open data)
27
+
28
+ 1 rows - 1 Africa country - not-applicable - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-1-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-not-applicable-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
34
+ ![license](https://img.shields.io/badge/license-odbl-lightgrey)
35
+
36
+ ## TL;DR
37
+
38
+ This dataset packages one official `XLSX` resource from **Senegal** as
39
+ ML-ready Parquet. The source file is the provenance boundary; all usable
40
+ indicators or tabular columns from the resource stay together in this repo.
41
+
42
+ ## About the source
43
+
44
+ - **Source:** [Déficit /Excédent pluviométrique](https://agridata.ansd.sn/dataset/deficitouexcedentpluviometrique)
45
+ - **Publisher:** ANACIM
46
+ - **Resource:** [META DONNEES](https://agridata.ansd.sn/dataset/abffbd69-e914-4afa-997f-6e2ce6cdfd40/resource/996d04b0-3154-4d85-b54f-00a524d30e8f/download/metadata.xlsx)
47
+ - **Format:** `XLSX`
48
+ - **License:** [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/)
49
+ - **Packaging mode:** `tabular_resource`
50
+
51
+ ## Geographic coverage
52
+
53
+ 1 Africa country:
54
+
55
+ | Country | Rows | First year | Last year | Name |
56
+ |---------|-----:|-----------:|----------:|------|
57
+ | `SEN` | 1 | n/a | n/a | `Senegal` |
58
+
59
+ ## Indicators or Resource Contents
60
+
61
+ - This source file is packaged as a normalized tabular resource.
62
+
63
+ ## Schema
64
+
65
+ | Column | Type | Description | Example |
66
+ |--------|------|-------------|---------|
67
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `996d04b0-3154-4d85-b54f-00a524d30e8f:metadata:0` |
68
+ | `country_iso3` | `category` | ISO3 country code. | `SEN` |
69
+ | `country_name` | `category` | Country name. | `Senegal` |
70
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `METADATA` |
71
+ | `methode_de_collecte` | `string` | Source column. | `Données d'observation` |
72
+ | `mode_de_calcul` | `string` | Source column. | `Différence` |
73
+ | `frequence_de_production` | `string` | Source column. | `saisonière` |
74
+ | `delai_de_diffusion` | `string` | Source column. | `annuelle (avant la fin de saison courante)` |
75
+ | `indicateur_diffuse` | `string` | Source column. | `non` |
76
+ | `niveau_de_desagregation` | `string` | Source column. | `zone` |
77
+ | `statut_de_l_indicateur` | `string` | Source column. | `définitif` |
78
+ | `unite_echelle` | `string` | Source column. | `unité` |
79
+ | `source` | `string` | Source column. | `ANACIM` |
80
+ | `methode_de_acces` | `string` | Source column. | `sur demande` |
81
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `` |
82
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `` |
83
+ | `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `` |
84
+ | `source_provider` | `category` | Publishing organization. | `ANACIM` |
85
+ | `source_dataset` | `category` | Source package title. | `Déficit /Excédent pluviométrique` |
86
+ | `source_resource` | `category` | Source resource title. | `META DONNEES` |
87
+ | `source_package_id` | `category` | CKAN package UUID. | `abffbd69-e914-4afa-997f-6e2ce6cdfd40` |
88
+ | `source_resource_id` | `category` | CKAN resource UUID. | `996d04b0-3154-4d85-b54f-00a524d30e8f` |
89
+ | `source_url` | `category` | Original source resource URL. | `https://agridata.ansd.sn/dataset/abffbd69-e914-4afa-997f-6e2ce6cdfd40/re` |
90
+ | `license_id` | `category` | Source license identifier. | `odc-odbl` |
91
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-07-27T11:04:43Z` |
92
+
93
+ ## Usage
94
+
95
+ ```python
96
+ from datasets import load_dataset
97
+
98
+ ds = load_dataset("electricsheepafrica/africa-senegal-deficit-excedent-pluviometrique-eaed970a")
99
+ df = ds["train"].to_pandas()
100
+ print(df.head())
101
+ ```
102
+
103
+ ### Filter to one country
104
+
105
+ ```python
106
+ sample_country = df[df["country_iso3"] == "SEN"]
107
+ ```
108
+
109
+ ### Work with indicators
110
+
111
+ ```python
112
+ if "indicator_id" in df.columns:
113
+ print(df["indicator_id"].value_counts().head())
114
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
115
+ ```
116
+
117
+ ## Citation
118
+
119
+ ```bibtex
120
+ @misc{electric_sheep_africa_africa_senegal_deficit_excedent_pluviometrique_eaed970a_2026,
121
+ title = {Déficit /Excédent pluviométrique | Africa (Senegal official open data)},
122
+ author = {ANACIM},
123
+ year = {2026},
124
+ url = {https://agridata.ansd.sn/dataset/deficitouexcedentpluviometrique},
125
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
126
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-senegal-deficit-excedent-pluviometrique-eaed970a}}
127
+ }
128
+ ```
129
+
130
+ ## License
131
+
132
+ Released under [Open Data Commons Open Database License](https://opendatacommons.org/licenses/odbl/).
133
+
134
+ Original data (c) ANACIM. When using this dataset, please cite both the
135
+ original source above and the Electric Sheep Africa repackaging.
136
+
137
+ ## About Electric Sheep
138
+
139
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
140
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
141
+ open sources, normalize the schemas, package as Parquet, and publish with
142
+ consistent dataset cards so researchers and developers can use `load_dataset()`
143
+ to start working in seconds.
144
+
145
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
146
+
147
+ ---
148
+
149
+ Provenance: ingested 2026-07-27 via the Electric Sheep pipeline. Source URL:
150
+ https://agridata.ansd.sn/dataset/abffbd69-e914-4afa-997f-6e2ce6cdfd40/resource/996d04b0-3154-4d85-b54f-00a524d30e8f/download/metadata.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76c7a6cdd25f7525754c878b90f128234acdf7e09f09e948ad2c8a85adfb0e10
3
+ size 18408
metadata/source_snapshot.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "methode_de_collecte",
8
+ "mode_de_calcul",
9
+ "frequence_de_production",
10
+ "delai_de_diffusion",
11
+ "indicateur_diffuse",
12
+ "niveau_de_desagregation",
13
+ "statut_de_l_indicateur",
14
+ "unite_echelle",
15
+ "source",
16
+ "methode_de_acces",
17
+ "source_period_start_year",
18
+ "source_period_end_year",
19
+ "source_period_label",
20
+ "source_provider",
21
+ "source_dataset",
22
+ "source_resource",
23
+ "source_package_id",
24
+ "source_resource_id",
25
+ "source_url",
26
+ "license_id",
27
+ "retrieved_at"
28
+ ],
29
+ "generated_at": "2026-07-27T11:05:07Z",
30
+ "indicator_count": 0,
31
+ "mode": "tabular_resource",
32
+ "repo_id": "electricsheepafrica/africa-senegal-deficit-excedent-pluviometrique-eaed970a",
33
+ "rows": 1,
34
+ "source": {
35
+ "api_base_url": "https://agridata.ansd.sn",
36
+ "country_iso3": "SEN",
37
+ "country_name": "Senegal",
38
+ "group_names": "climat; indicateursoddnationaux",
39
+ "license_id": "odc-odbl",
40
+ "license_title": "Open Data Commons Open Database License (ODbL)",
41
+ "license_url": "http://www.opendefinition.org/licenses/odc-odbl",
42
+ "organization_id": "7b3361ae-57cc-49a8-a402-a10cd9a1e7c3",
43
+ "organization_name": "anacim",
44
+ "organization_title": "ANACIM",
45
+ "package_author": "",
46
+ "package_id": "abffbd69-e914-4afa-997f-6e2ce6cdfd40",
47
+ "package_maintainer": "",
48
+ "package_metadata_created": "2024-08-30T16:55:24.489866",
49
+ "package_metadata_modified": "2025-04-14T16:46:10.852854",
50
+ "package_name": "deficitouexcedentpluviometrique",
51
+ "package_notes": "Déficit /Excédent pluviométrique ANACIM",
52
+ "package_page_url": "https://agridata.ansd.sn/dataset/deficitouexcedentpluviometrique",
53
+ "package_private": "False",
54
+ "package_state": "active",
55
+ "package_title": "Déficit /Excédent pluviométrique",
56
+ "package_version": "",
57
+ "portal_url": "https://agridata.ansd.sn",
58
+ "resource_created": "2024-08-30T16:56:39.274823",
59
+ "resource_datastore_active": "True",
60
+ "resource_description": "META DATA de l'indicateur du déficit ou excédent pluviométrique",
61
+ "resource_format": "XLSX",
62
+ "resource_hash": "ba29cf78fef3157cde73ee07fc7fd298",
63
+ "resource_id": "996d04b0-3154-4d85-b54f-00a524d30e8f",
64
+ "resource_last_modified": "2024-08-30T16:56:39.217060",
65
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
66
+ "resource_name": "META DONNEES",
67
+ "resource_position": "1",
68
+ "resource_size": "8967",
69
+ "resource_state": "active",
70
+ "resource_url": "https://agridata.ansd.sn/dataset/abffbd69-e914-4afa-997f-6e2ce6cdfd40/resource/996d04b0-3154-4d85-b54f-00a524d30e8f/download/metadata.xlsx",
71
+ "retrieved_at": "2026-07-27T11:03:56Z",
72
+ "tag_names": ""
73
+ },
74
+ "year_max": null,
75
+ "year_min": null
76
+ }