Kossiesa commited on
Commit
5029b81
·
verified ·
1 Parent(s): c96942a

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
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
+ - mauritius
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: "Selected Fertility Rates for the Republic of Mauritius | Africa (Mauritius official open data)"
24
+ ---
25
+
26
+ # Selected Fertility Rates for the Republic of Mauritius | Africa (Mauritius official open data)
27
+
28
+ 110 rows - 1 Africa country - 1984-2021 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-110-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-1984-2021-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
34
+ ![license](https://img.shields.io/badge/license-cc-by-sa-4.0-lightgrey)
35
+
36
+ ## TL;DR
37
+
38
+ This dataset packages one official `XLSX` resource from **Mauritius** 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:** [Selected Fertility Rates for the Republic of Mauritius](https://data.govmu.org/dataset/selected-fertility-rates-republic-mauritius)
45
+ - **Publisher:** MDPA
46
+ - **Resource:** [Source-File-Selected-Fertility-Rates-Republic-of-Mauritius.xlsx](https://data.govmu.org/dataset/fdc6a030-8c7a-4363-9b60-d4ecd73552c6/resource/f8be95fd-06c5-4175-83c5-c3fe60379e61/download/source-file-selected-fertility-rates-republic-of-mauritius.xlsx)
47
+ - **Format:** `XLSX`
48
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
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
+ | `MU` | 110 | 1984 | 2021 | `Mauritius` |
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. | `f8be95fd-06c5-4175-83c5-c3fe60379e61:explanations:0` |
68
+ | `country_iso3` | `category` | ISO3 country code. | `MU` |
69
+ | `country_name` | `category` | Country name. | `Mauritius` |
70
+ | `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Explanations` |
71
+ | `d_1_concepts_and_definition` | `string` | Source column. | `` |
72
+ | `demographic_statistics_is_compiled_as_far_as_possible_ac` | `string` | Source column. | `De facto population: a population enumerated or estimated on the basis o` |
73
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `1984` |
74
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2021` |
75
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `1984-2021` |
76
+ | `source_provider` | `category` | Publishing organization. | `MDPA` |
77
+ | `source_dataset` | `category` | Source package title. | `Selected Fertility Rates for the Republic of Mauritius` |
78
+ | `source_resource` | `category` | Source resource title. | `Source-File-Selected-Fertility-Rates-Republic-of-Mauritius.xlsx` |
79
+ | `source_package_id` | `category` | CKAN package UUID. | `fdc6a030-8c7a-4363-9b60-d4ecd73552c6` |
80
+ | `source_resource_id` | `category` | CKAN resource UUID. | `f8be95fd-06c5-4175-83c5-c3fe60379e61` |
81
+ | `source_url` | `category` | Original source resource URL. | `https://data.govmu.org/dataset/fdc6a030-8c7a-4363-9b60-d4ecd73552c6/reso` |
82
+ | `license_id` | `category` | Source license identifier. | `CC-BY-SA-4.0` |
83
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-08T16:26:20Z` |
84
+ | `year_period` | `string` | Source column. | `` |
85
+ | `g_f_r_2` | `float64` | Source column. | `` |
86
+ | `t_f_r_3` | `float64` | Source column. | `` |
87
+ | `g_r_r_4` | `float64` | Source column. | `` |
88
+ | `n_r_r_5` | `float64` | Source column. | `` |
89
+
90
+ ## Usage
91
+
92
+ ```python
93
+ from datasets import load_dataset
94
+
95
+ ds = load_dataset("electricsheepafrica/africa-mauritius-selected-fertility-rates-for-the-republic-of-mauritius-9f749df1")
96
+ df = ds["train"].to_pandas()
97
+ print(df.head())
98
+ ```
99
+
100
+ ### Filter to one country
101
+
102
+ ```python
103
+ sample_country = df[df["country_iso3"] == "MU"]
104
+ ```
105
+
106
+ ### Work with indicators
107
+
108
+ ```python
109
+ if "indicator_id" in df.columns:
110
+ print(df["indicator_id"].value_counts().head())
111
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
112
+ ```
113
+
114
+ ## Citation
115
+
116
+ ```bibtex
117
+ @misc{electric_sheep_africa_africa_mauritius_selected_fertility_rates_for_the_republic_of_mauritius_9f749df1_2021,
118
+ title = {Selected Fertility Rates for the Republic of Mauritius | Africa (Mauritius official open data)},
119
+ author = {MDPA},
120
+ year = {2021},
121
+ url = {https://data.govmu.org/dataset/selected-fertility-rates-republic-mauritius},
122
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
123
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-selected-fertility-rates-for-the-republic-of-mauritius-9f749df1}}
124
+ }
125
+ ```
126
+
127
+ ## License
128
+
129
+ Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
130
+
131
+ Original data (c) MDPA. When using this dataset, please cite both the
132
+ original source above and the Electric Sheep Africa repackaging.
133
+
134
+ ## About Electric Sheep
135
+
136
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
137
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
138
+ open sources, normalize the schemas, package as Parquet, and publish with
139
+ consistent dataset cards so researchers and developers can use `load_dataset()`
140
+ to start working in seconds.
141
+
142
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
143
+
144
+ ---
145
+
146
+ Provenance: ingested 2026-08-08 via the Electric Sheep pipeline. Source URL:
147
+ https://data.govmu.org/dataset/fdc6a030-8c7a-4363-9b60-d4ecd73552c6/resource/f8be95fd-06c5-4175-83c5-c3fe60379e61/download/source-file-selected-fertility-rates-republic-of-mauritius.xlsx
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c41cb7a99bc1b8d17a2f5307582c6ce4a74d02dc94e4808a06d228ba691641e9
3
+ size 21654
metadata/source_snapshot.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "source_sheet",
7
+ "d_1_concepts_and_definition",
8
+ "demographic_statistics_is_compiled_as_far_as_possible_ac",
9
+ "source_period_start_year",
10
+ "source_period_end_year",
11
+ "source_period_label",
12
+ "source_provider",
13
+ "source_dataset",
14
+ "source_resource",
15
+ "source_package_id",
16
+ "source_resource_id",
17
+ "source_url",
18
+ "license_id",
19
+ "retrieved_at",
20
+ "year_period",
21
+ "g_f_r_2",
22
+ "t_f_r_3",
23
+ "g_r_r_4",
24
+ "n_r_r_5"
25
+ ],
26
+ "generated_at": "2026-08-08T17:10:57Z",
27
+ "indicator_count": 0,
28
+ "mode": "tabular_resource",
29
+ "repo_id": "electricsheepafrica/africa-mauritius-selected-fertility-rates-for-the-republic-of-mauritius-9f749df1",
30
+ "rows": 110,
31
+ "source": {
32
+ "api_base_url": "https://data.govmu.org",
33
+ "country_iso3": "MU",
34
+ "country_name": "Mauritius",
35
+ "group_names": "demography-and-employment",
36
+ "license_id": "CC-BY-SA-4.0",
37
+ "license_title": "CC-BY-SA-4.0",
38
+ "license_url": "",
39
+ "organization_id": "fba989d1-7b9a-4338-901c-978558936a9b",
40
+ "organization_name": "mdpa",
41
+ "organization_title": "MDPA",
42
+ "package_author": "",
43
+ "package_id": "fdc6a030-8c7a-4363-9b60-d4ecd73552c6",
44
+ "package_maintainer": "Open Data Mauritius",
45
+ "package_metadata_created": "2024-09-30T12:39:42.511266",
46
+ "package_metadata_modified": "2024-09-30T12:39:55.157483",
47
+ "package_name": "selected-fertility-rates-republic-mauritius",
48
+ "package_notes": "<p>Dataset shows the Selected Fertility Rates for the Republic of Mauritius for the year 1984 to 2021</p>",
49
+ "package_page_url": "https://data.govmu.org/dataset/selected-fertility-rates-republic-mauritius",
50
+ "package_private": "False",
51
+ "package_state": "active",
52
+ "package_title": "Selected Fertility Rates for the Republic of Mauritius",
53
+ "package_version": "",
54
+ "portal_url": "https://data.govmu.org",
55
+ "resource_created": "2024-09-30T12:39:47.240148",
56
+ "resource_datastore_active": "False",
57
+ "resource_description": "",
58
+ "resource_format": "XLSX",
59
+ "resource_hash": "",
60
+ "resource_id": "f8be95fd-06c5-4175-83c5-c3fe60379e61",
61
+ "resource_last_modified": "2024-09-30T12:39:47.218126",
62
+ "resource_mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
63
+ "resource_name": "Source-File-Selected-Fertility-Rates-Republic-of-Mauritius.xlsx",
64
+ "resource_position": "3",
65
+ "resource_size": "25611",
66
+ "resource_state": "active",
67
+ "resource_url": "https://data.govmu.org/dataset/fdc6a030-8c7a-4363-9b60-d4ecd73552c6/resource/f8be95fd-06c5-4175-83c5-c3fe60379e61/download/source-file-selected-fertility-rates-republic-of-mauritius.xlsx",
68
+ "retrieved_at": "2026-08-08T16:23:36Z",
69
+ "tag_names": "fertility"
70
+ },
71
+ "year_max": 2021,
72
+ "year_min": 1984
73
+ }