Add ML-ready official indicator dataset
Browse files- README.md +144 -0
- data/train-00000-of-00001.parquet +3 -0
- metadata/source_snapshot.json +69 -0
README.md
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-regression
|
| 7 |
+
- time-series-forecasting
|
| 8 |
+
multilinguality: monolingual
|
| 9 |
+
size_categories:
|
| 10 |
+
- n<1K
|
| 11 |
+
tags:
|
| 12 |
+
- tabular
|
| 13 |
+
- csv
|
| 14 |
+
- africa
|
| 15 |
+
- senegal
|
| 16 |
+
- official-statistics
|
| 17 |
+
- open-data
|
| 18 |
+
- population
|
| 19 |
+
configs:
|
| 20 |
+
- config_name: default
|
| 21 |
+
data_files:
|
| 22 |
+
- split: train
|
| 23 |
+
path: data/train-00000-of-00001.parquet
|
| 24 |
+
pretty_name: "Répartition des naissances vivantes au cours des 12 derniers mois selon le sexe | Africa (Senegal official open data)"
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# Répartition des naissances vivantes au cours des 12 derniers mois selon le sexe | Africa (Senegal official open data)
|
| 28 |
+
|
| 29 |
+
2 rows - 1 Africa country - 2013-2023 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
|
| 30 |
+
|
| 31 |
+

|
| 32 |
+

|
| 33 |
+

|
| 34 |
+

|
| 35 |
+

|
| 36 |
+
|
| 37 |
+
## TL;DR
|
| 38 |
+
|
| 39 |
+
This dataset packages one official `CSV` resource from **Senegal** as
|
| 40 |
+
ML-ready Parquet. The source file is the provenance boundary; all usable
|
| 41 |
+
indicators or tabular columns from the resource stay together in this repo.
|
| 42 |
+
|
| 43 |
+
## About the source
|
| 44 |
+
|
| 45 |
+
- **Source:** [Répartition des naissances vivantes au cours des 12 derniers mois selon le sexe](https://agridata.ansd.sn/dataset/rpartition_des_naissances_vivantes_au_cours_des_12_derniers_mois_selon_le_sexe)
|
| 46 |
+
- **Publisher:** ANSD
|
| 47 |
+
- **Resource:** [grtrzhf_202505Md_164614.csv](https://agridata.ansd.sn/dataset/2ae05dad-8561-4ae0-83bc-0e57ef0b39e3/resource/6e55a9da-6f98-4c7c-b0bb-f0ce3c1b1e05/download/grtrzhf_202505md_164614.csv)
|
| 48 |
+
- **Format:** `CSV`
|
| 49 |
+
- **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 50 |
+
- **Packaging mode:** `indicator_long`
|
| 51 |
+
|
| 52 |
+
## Geographic coverage
|
| 53 |
+
|
| 54 |
+
1 Africa country:
|
| 55 |
+
|
| 56 |
+
| Country | Rows | First year | Last year | Name |
|
| 57 |
+
|---------|-----:|-----------:|----------:|------|
|
| 58 |
+
| `SEN` | 2 | 2013 | 2023 | `Senegal` |
|
| 59 |
+
|
| 60 |
+
## Indicators or Resource Contents
|
| 61 |
+
|
| 62 |
+
- `repartition-des-naissances-vivantes-au-cours-des-12-derniers-mois-selon-61502492` - Répartition des naissances vivantes au cours des 12 derniers mois selon le sexe
|
| 63 |
+
|
| 64 |
+
## Schema
|
| 65 |
+
|
| 66 |
+
| Column | Type | Description | Example |
|
| 67 |
+
|--------|------|-------------|---------|
|
| 68 |
+
| `indicator_id` | `string` | Stable indicator identifier. | `repartition-des-naissances-vivantes-au-cours-des-12-derniers-mois-selon-` |
|
| 69 |
+
| `indicator_name` | `string` | Human-readable indicator name. | `Répartition des naissances vivantes au cours des 12 derniers mois selon ` |
|
| 70 |
+
| `country_iso3` | `string` | ISO3 country code. | `SEN` |
|
| 71 |
+
| `country_name` | `string` | Country name. | `Senegal` |
|
| 72 |
+
| `year` | `Int64` | Observation year. | `2013` |
|
| 73 |
+
| `value` | `float64` | Numeric observation value. | `174947.0` |
|
| 74 |
+
| `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
|
| 75 |
+
| `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `` |
|
| 76 |
+
| `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `` |
|
| 77 |
+
| `source_period_label` | `string` | Human-readable period inferred from source resource metadata. | `` |
|
| 78 |
+
| `source_provider` | `category` | Publishing organization. | `ANSD` |
|
| 79 |
+
| `source_dataset` | `category` | Source package title. | `Répartition des naissances vivantes au cours des 12 derniers mois selon ` |
|
| 80 |
+
| `source_resource` | `category` | Source resource title. | `grtrzhf_202505Md_164614.csv` |
|
| 81 |
+
| `source_package_id` | `category` | CKAN package UUID. | `2ae05dad-8561-4ae0-83bc-0e57ef0b39e3` |
|
| 82 |
+
| `source_resource_id` | `category` | CKAN resource UUID. | `6e55a9da-6f98-4c7c-b0bb-f0ce3c1b1e05` |
|
| 83 |
+
| `source_url` | `category` | Original source resource URL. | `https://agridata.ansd.sn/dataset/2ae05dad-8561-4ae0-83bc-0e57ef0b39e3/re` |
|
| 84 |
+
| `license_id` | `category` | Source license identifier. | `cc-by` |
|
| 85 |
+
| `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-07-27T11:04:43Z` |
|
| 86 |
+
|
| 87 |
+
## Usage
|
| 88 |
+
|
| 89 |
+
```python
|
| 90 |
+
from datasets import load_dataset
|
| 91 |
+
|
| 92 |
+
ds = load_dataset("electricsheepafrica/africa-senegal-repartition-des-naissances-vivantes-au-cours-des-12-dernie-61502492")
|
| 93 |
+
df = ds["train"].to_pandas()
|
| 94 |
+
print(df.head())
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
### Filter to one country
|
| 98 |
+
|
| 99 |
+
```python
|
| 100 |
+
sample_country = df[df["country_iso3"] == "SEN"]
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
### Work with indicators
|
| 104 |
+
|
| 105 |
+
```python
|
| 106 |
+
if "indicator_id" in df.columns:
|
| 107 |
+
print(df["indicator_id"].value_counts().head())
|
| 108 |
+
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
## Citation
|
| 112 |
+
|
| 113 |
+
```bibtex
|
| 114 |
+
@misc{electric_sheep_africa_africa_senegal_repartition_des_naissances_vivantes_au_cours_des_12_dernie_615024_2023,
|
| 115 |
+
title = {Répartition des naissances vivantes au cours des 12 derniers mois selon le sexe | Africa (Senegal official open data)},
|
| 116 |
+
author = {ANSD},
|
| 117 |
+
year = {2023},
|
| 118 |
+
url = {https://agridata.ansd.sn/dataset/rpartition_des_naissances_vivantes_au_cours_des_12_derniers_mois_selon_le_sexe},
|
| 119 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 120 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-senegal-repartition-des-naissances-vivantes-au-cours-des-12-dernie-61502492}}
|
| 121 |
+
}
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
## License
|
| 125 |
+
|
| 126 |
+
Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
| 127 |
+
|
| 128 |
+
Original data (c) ANSD. When using this dataset, please cite both the
|
| 129 |
+
original source above and the Electric Sheep Africa repackaging.
|
| 130 |
+
|
| 131 |
+
## About Electric Sheep
|
| 132 |
+
|
| 133 |
+
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
|
| 134 |
+
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 135 |
+
open sources, normalize the schemas, package as Parquet, and publish with
|
| 136 |
+
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 137 |
+
to start working in seconds.
|
| 138 |
+
|
| 139 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 140 |
+
|
| 141 |
+
---
|
| 142 |
+
|
| 143 |
+
Provenance: ingested 2026-07-27 via the Electric Sheep pipeline. Source URL:
|
| 144 |
+
https://agridata.ansd.sn/dataset/2ae05dad-8561-4ae0-83bc-0e57ef0b39e3/resource/6e55a9da-6f98-4c7c-b0bb-f0ce3c1b1e05/download/grtrzhf_202505md_164614.csv
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b71d12a0aa100bd09a734b05767badfd99e15efc5ea6a15201ff981ea4c1fd85
|
| 3 |
+
size 14335
|
metadata/source_snapshot.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
"indicator_id",
|
| 4 |
+
"indicator_name",
|
| 5 |
+
"country_iso3",
|
| 6 |
+
"country_name",
|
| 7 |
+
"year",
|
| 8 |
+
"value",
|
| 9 |
+
"unit",
|
| 10 |
+
"source_period_start_year",
|
| 11 |
+
"source_period_end_year",
|
| 12 |
+
"source_period_label",
|
| 13 |
+
"source_provider",
|
| 14 |
+
"source_dataset",
|
| 15 |
+
"source_resource",
|
| 16 |
+
"source_package_id",
|
| 17 |
+
"source_resource_id",
|
| 18 |
+
"source_url",
|
| 19 |
+
"license_id",
|
| 20 |
+
"retrieved_at"
|
| 21 |
+
],
|
| 22 |
+
"generated_at": "2026-07-27T11:05:02Z",
|
| 23 |
+
"indicator_count": 1,
|
| 24 |
+
"mode": "indicator_long",
|
| 25 |
+
"repo_id": "electricsheepafrica/africa-senegal-repartition-des-naissances-vivantes-au-cours-des-12-dernie-61502492",
|
| 26 |
+
"rows": 2,
|
| 27 |
+
"source": {
|
| 28 |
+
"api_base_url": "https://agridata.ansd.sn",
|
| 29 |
+
"country_iso3": "SEN",
|
| 30 |
+
"country_name": "Senegal",
|
| 31 |
+
"group_names": "population",
|
| 32 |
+
"license_id": "cc-by",
|
| 33 |
+
"license_title": "Creative Commons Attribution",
|
| 34 |
+
"license_url": "http://www.opendefinition.org/licenses/cc-by",
|
| 35 |
+
"organization_id": "a2a5a440-9c34-4e8c-b1ad-1a24d12e7449",
|
| 36 |
+
"organization_name": "ansd",
|
| 37 |
+
"organization_title": "ANSD",
|
| 38 |
+
"package_author": "",
|
| 39 |
+
"package_id": "2ae05dad-8561-4ae0-83bc-0e57ef0b39e3",
|
| 40 |
+
"package_maintainer": "",
|
| 41 |
+
"package_metadata_created": "2025-05-30T16:46:14.130655",
|
| 42 |
+
"package_metadata_modified": "2025-05-30T16:46:20.253478",
|
| 43 |
+
"package_name": "rpartition_des_naissances_vivantes_au_cours_des_12_derniers_mois_selon_le_sexe",
|
| 44 |
+
"package_notes": "Dataset créé automatiquement avec une ressource SDMX",
|
| 45 |
+
"package_page_url": "https://agridata.ansd.sn/dataset/rpartition_des_naissances_vivantes_au_cours_des_12_derniers_mois_selon_le_sexe",
|
| 46 |
+
"package_private": "False",
|
| 47 |
+
"package_state": "active",
|
| 48 |
+
"package_title": "Répartition des naissances vivantes au cours des 12 derniers mois selon le sexe",
|
| 49 |
+
"package_version": "",
|
| 50 |
+
"portal_url": "https://agridata.ansd.sn",
|
| 51 |
+
"resource_created": "2025-05-30T16:46:16.321520",
|
| 52 |
+
"resource_datastore_active": "True",
|
| 53 |
+
"resource_description": "",
|
| 54 |
+
"resource_format": "CSV",
|
| 55 |
+
"resource_hash": "486e11c67b2a3c33113a535b9fbeb241",
|
| 56 |
+
"resource_id": "6e55a9da-6f98-4c7c-b0bb-f0ce3c1b1e05",
|
| 57 |
+
"resource_last_modified": "2025-05-30T16:46:16.305771",
|
| 58 |
+
"resource_mimetype": "text/csv",
|
| 59 |
+
"resource_name": "grtrzhf_202505Md_164614.csv",
|
| 60 |
+
"resource_position": "1",
|
| 61 |
+
"resource_size": "24",
|
| 62 |
+
"resource_state": "active",
|
| 63 |
+
"resource_url": "https://agridata.ansd.sn/dataset/2ae05dad-8561-4ae0-83bc-0e57ef0b39e3/resource/6e55a9da-6f98-4c7c-b0bb-f0ce3c1b1e05/download/grtrzhf_202505md_164614.csv",
|
| 64 |
+
"retrieved_at": "2026-07-27T11:03:56Z",
|
| 65 |
+
"tag_names": ""
|
| 66 |
+
},
|
| 67 |
+
"year_max": 2023,
|
| 68 |
+
"year_min": 2013
|
| 69 |
+
}
|