Olaroti commited on
Commit
fb99133
·
verified ·
1 Parent(s): 6544f5f

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +132 -69
README.md CHANGED
@@ -5,86 +5,106 @@ language:
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
- - mauritius
16
- - official-statistics
17
- - open-data
18
- - health
 
 
 
 
 
19
  configs:
20
  - config_name: default
21
  data_files:
22
  - split: train
23
  path: data/train-00000-of-00001.parquet
24
- pretty_name: "Admissions due to certain respiratory diseases by sex in government general hospitals | Africa (Mauritius official open data)"
25
  ---
26
 
27
- # Admissions due to certain respiratory diseases by sex in government general hospitals | Africa (Mauritius official open data)
28
 
29
- 60 rows - 1 Africa country - 2015-2021 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
30
 
31
  ![rows](https://img.shields.io/badge/rows-60-blue)
32
  ![countries](https://img.shields.io/badge/countries-1-green)
33
- ![years](https://img.shields.io/badge/years-2015-2021-orange)
34
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
35
- ![license](https://img.shields.io/badge/license-cc-by-sa-4.0-lightgrey)
36
 
37
  ## TL;DR
38
 
39
- This dataset packages one official `CSV` resource from **Mauritius** 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:** [Admissions due to certain respiratory diseases by sex in government general hospitals](https://data.govmu.org/dataset/admissions-due-certain-respiratory-diseases-sex-government-general-hospitals)
46
- - **Publisher:** MDPA
47
- - **Resource:** [Dataset_6.csv](https://data.govmu.org/dataset/9796ea43-36c3-49c0-81e6-ab33b55fed1c/resource/775ef1bd-4858-4d1c-a72d-54af2be52702/download/dataset_6.csv)
48
- - **Format:** `CSV`
49
- - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/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
  | `MU` | 60 | 2015 | 2021 | `Mauritius` |
59
 
60
- ## Indicators or Resource Contents
61
 
62
- - `admissions-due-to-certain-respiratory-diseases-by-sex-in-government-gene-05a69bfa` - Admissions due to certain respiratory diseases by sex in government general hospitals
63
 
64
  ## Schema
65
 
66
  | Column | Type | Description | Example |
67
  |--------|------|-------------|---------|
68
- | `indicator_id` | `string` | Stable indicator identifier. | `admissions-due-to-certain-respiratory-diseases-by-sex-in-government-gene` |
69
- | `indicator_name` | `string` | Human-readable indicator name. | `Admissions due to certain respiratory diseases by sex in government gene` |
70
- | `country_iso3` | `string` | ISO3 country code. | `MU` |
71
- | `country_name` | `string` | Country name. | `Mauritius` |
72
- | `year` | `Int64` | Observation year. | `2015` |
73
- | `value` | `float64` | Numeric observation value. | `2918.0` |
74
- | `unit` | `string` | Measurement unit, when available. | `source_units_unspecified` |
75
- | `dimension_disease` | `string` | Source dimension. | `Acute upper respiratory infections` |
76
- | `dimension_gender` | `string` | Source dimension. | `Male` |
77
- | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2015` |
78
- | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2021` |
79
- | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2015-2021` |
80
- | `source_provider` | `category` | Publishing organization. | `MDPA` |
81
- | `source_dataset` | `category` | Source package title. | `Admissions due to certain respiratory diseases by sex in government gene` |
82
- | `source_resource` | `category` | Source resource title. | `Dataset_6.csv` |
83
- | `source_package_id` | `category` | CKAN package UUID. | `9796ea43-36c3-49c0-81e6-ab33b55fed1c` |
84
- | `source_resource_id` | `category` | CKAN resource UUID. | `775ef1bd-4858-4d1c-a72d-54af2be52702` |
85
- | `source_url` | `category` | Original source resource URL. | `https://data.govmu.org/dataset/9796ea43-36c3-49c0-81e6-ab33b55fed1c/reso` |
86
- | `license_id` | `category` | Source license identifier. | `CC-BY-SA-4.0` |
87
- | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-08T16:26:20Z` |
88
 
89
  ## Usage
90
 
@@ -96,29 +116,78 @@ df = ds["train"].to_pandas()
96
  print(df.head())
97
  ```
98
 
99
- ### Filter to one country
100
 
101
  ```python
102
- sample_country = df[df["country_iso3"] == "MU"]
 
103
  ```
104
 
105
- ### Work with indicators
106
 
107
  ```python
108
- if "indicator_id" in df.columns:
109
- print(df["indicator_id"].value_counts().head())
110
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
111
  ```
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  ## Citation
114
 
115
  ```bibtex
116
  @misc{electric_sheep_africa_africa_mauritius_admissions_due_to_certain_respiratory_diseases_by_sex_in_g_6bf7_2021,
117
- title = {Admissions due to certain respiratory diseases by sex in government general hospitals | Africa (Mauritius official open data)},
118
  author = {MDPA},
119
  year = {2021},
120
  url = {https://data.govmu.org/dataset/admissions-due-certain-respiratory-diseases-sex-government-general-hospitals},
121
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
122
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-admissions-due-to-certain-respiratory-diseases-by-sex-in-g-6bf75d42}}
123
  }
124
  ```
@@ -127,20 +196,14 @@ if "indicator_id" in df.columns:
127
 
128
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
129
 
130
- Original data (c) MDPA. When using this dataset, please cite both the
131
- original source above and the Electric Sheep Africa repackaging.
132
-
133
- ## About Electric Sheep
134
 
135
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
136
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
137
- open sources, normalize the schemas, package as Parquet, and publish with
138
- consistent dataset cards so researchers and developers can use `load_dataset()`
139
- to start working in seconds.
140
 
141
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
142
 
143
  ---
144
 
145
- Provenance: ingested 2026-08-08 via the Electric Sheep pipeline. Source URL:
146
- https://data.govmu.org/dataset/9796ea43-36c3-49c0-81e6-ab33b55fed1c/resource/775ef1bd-4858-4d1c-a72d-54af2be52702/download/dataset_6.csv
 
5
  task_categories:
6
  - tabular-regression
7
  - time-series-forecasting
8
+ multilinguality: multilingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
+ - "tabular"
13
+ - "africa"
14
+ - "open-data"
15
+ - "official-statistics"
16
+ - "mauritius"
17
+ - "mdpa"
18
+ - "health"
19
+ - "health-and-sports"
20
+ - "disease"
21
+ - "pneumonia"
22
+ - "asthma"
23
+ - "government-hospitals"
24
  configs:
25
  - config_name: default
26
  data_files:
27
  - split: train
28
  path: data/train-00000-of-00001.parquet
29
+ pretty_name: "Admissions Due to Certain Respiratory Diseases by Sex in G | Africa (MDPA)"
30
  ---
31
 
32
+ # Admissions Due to Certain Respiratory Diseases by Sex in G | Africa (MDPA)
33
 
34
+ **60 rows** - **1 Africa country/area** - **2015-2021** - **1 indicator** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
35
 
36
  ![rows](https://img.shields.io/badge/rows-60-blue)
37
  ![countries](https://img.shields.io/badge/countries-1-green)
38
+ ![period](https://img.shields.io/badge/period-2015--2021-orange)
39
  ![indicators](https://img.shields.io/badge/indicators-1-purple)
40
+ ![license](https://img.shields.io/badge/license-cc--by--sa--4.0-lightgrey)
41
 
42
  ## TL;DR
43
 
44
+ This dataset contains **60 rows** from **MDPA**, covering **Admissions Due to Certain Respiratory Diseases by Sex in G**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
45
 
46
+ ## What This Dataset Measures
47
 
48
+ Health datasets help analysts monitor disease burden, service delivery, population health outcomes, and public-health program performance.
49
+
50
+ Source-provided context: The data shows admissions due to certain respiratory diseases by sex in government general hospitals for the year 2015 to 2021
51
+
52
+ ## How To Read This Dataset
53
+
54
+ - **One row means:** one indicator observation for one geography, time period, and optional source dimensions.
55
+ - **Primary geography column:** `country_iso3`.
56
+ - **Best time column:** `year`.
57
+ - **Time coverage basis:** year.
58
+ - **Recommended join keys:** `country_iso3`, `year`, `indicator_id`.
59
+
60
+ ## Coverage
61
+
62
+ | Dimension | Value |
63
+ |---|---:|
64
+ | Rows | 60 |
65
+ | Countries/areas | 1 |
66
+ | First period | 2015 |
67
+ | Last period | 2021 |
68
+ | Indicators | 1 |
69
+ | Columns | 20 |
70
+ | Source format | CSV |
71
 
72
+ ## Geographic Coverage
73
 
74
+ Top areas shown below, sorted by row count when available:
75
 
76
+ | Area | Rows | First year | Last year | Name |
77
+ |------|-----:|-----------:|----------:|------|
78
  | `MU` | 60 | 2015 | 2021 | `Mauritius` |
79
 
80
+ ## Indicators, Variables, Or Resource Contents
81
 
82
+ - `admissions-due-to-certain-respiratory-diseases-by-sex-in-government-gene-05a69bfa` - Admissions due to certain respiratory diseases by sex in government general hospitals(source_units_unspecified)
83
 
84
  ## Schema
85
 
86
  | Column | Type | Description | Example |
87
  |--------|------|-------------|---------|
88
+ | `indicator_id` | `string` | Stable source or Electric Sheep Africa indicator identifier. | `admissions-due-to-certain-respiratory-diseases-by-sex-in-government-g...` |
89
+ | `indicator_name` | `string` | Human-readable indicator name. | `Admissions due to certain respiratory diseases by sex in government g...` |
90
+ | `country_iso3` | `string` | ISO3 country or area code. | `MU` |
91
+ | `country_name` | `string` | Country or area name. | `Mauritius` |
92
+ | `year` | `int64` | Observation year. | `2015` |
93
+ | `value` | `double` | Numeric observation value. | `2918.0` |
94
+ | `unit` | `string` | Measurement unit, when supplied by the source. | `source_units_unspecified` |
95
+ | `dimension_disease` | `string` | Source dimension retained during long-form normalization. | `Acute upper respiratory infections` |
96
+ | `dimension_gender` | `string` | Source dimension retained during long-form normalization. | `Male` |
97
+ | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2015` |
98
+ | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2021` |
99
+ | `source_period_label` | `dictionary<values=string, indices=int8, ordered=0>` | Source column from the original resource. | `2015-2021` |
100
+ | `source_provider` | `dictionary<values=string, indices=int8, ordered=0>` | Publishing organization. | `MDPA` |
101
+ | `source_dataset` | `dictionary<values=string, indices=int8, ordered=0>` | Source dataset or package title. | `Admissions due to certain respiratory diseases by sex in government g...` |
102
+ | `source_resource` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource title, table name, or file name. | `Dataset_6.csv` |
103
+ | `source_package_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source package identifier. | `9796ea43-36c3-49c0-81e6-ab33b55fed1c` |
104
+ | `source_resource_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source resource identifier. | `775ef1bd-4858-4d1c-a72d-54af2be52702` |
105
+ | `source_url` | `dictionary<values=string, indices=int8, ordered=0>` | Original source URL or download URL. | `https://data.govmu.org/dataset/9796ea43-36c3-49c0-81e6-ab33b55fed1c/r...` |
106
+ | `license_id` | `dictionary<values=string, indices=int8, ordered=0>` | Source license identifier. | `CC-BY-SA-4.0` |
107
+ | `retrieved_at` | `dictionary<values=string, indices=int8, ordered=0>` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-08T16:26:20Z` |
108
 
109
  ## Usage
110
 
 
116
  print(df.head())
117
  ```
118
 
119
+ ### Inspect Columns
120
 
121
  ```python
122
+ print(df.info())
123
+ print(df.head())
124
  ```
125
 
126
+ ### Filter By Geography
127
 
128
  ```python
129
+ if "country_iso3" in df.columns:
130
+ sample = df[df["country_iso3"] == "MU"]
 
131
  ```
132
 
133
+ ### Time-Series Pattern
134
+
135
+ ```python
136
+ if "value" in df.columns and "year" in df.columns:
137
+ trend = df.sort_values("year")
138
+ ```
139
+
140
+ ### Pivot For Analysis
141
+
142
+ ```python
143
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
144
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
145
+ print(matrix.tail())
146
+ ```
147
+
148
+ ## Data Quality Notes
149
+
150
+ - Canonical time field: `year`.
151
+ - Missing values are preserved rather than silently imputed.
152
+ - Column names are standardized for machine use; source meanings are preserved where known.
153
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
154
+
155
+ ## Source And Provenance
156
+
157
+ - **Source:** [MDPA](https://data.govmu.org/dataset/admissions-due-certain-respiratory-diseases-sex-government-general-hospitals)
158
+ - **Publisher:** MDPA
159
+ - **Portal:** [https://data.govmu.org](https://data.govmu.org)
160
+ - **Resource:** [Dataset_6.csv](https://data.govmu.org/dataset/9796ea43-36c3-49c0-81e6-ab33b55fed1c/resource/775ef1bd-4858-4d1c-a72d-54af2be52702/download/dataset_6.csv)
161
+ - **License:** [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
162
+ - **Retrieved/generated:** `2026-08-08T16:41:31Z`
163
+ - **Hugging Face repo:** [electricsheepafrica/africa-mauritius-admissions-due-to-certain-respiratory-diseases-by-sex-in-g-6bf75d42](https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-admissions-due-to-certain-respiratory-diseases-by-sex-in-g-6bf75d42)
164
+
165
+ ## Transformations Applied
166
+
167
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
168
+ - Added or preserved source provenance columns where available.
169
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
170
+ - Preserved source-reported values without analytical imputation.
171
+
172
+ ## Suggested Analyses
173
+
174
+ - Compare health outcomes across geographies
175
+ - Track changes over time
176
+ - Join with population or facility data
177
+ - Build time-series views and period-over-period comparisons
178
+ - Pivot to geography x period or indicator x period matrices
179
+ - Check missingness before modeling
180
+ - Use `country_iso3` as the safest geography join key when present
181
+
182
  ## Citation
183
 
184
  ```bibtex
185
  @misc{electric_sheep_africa_africa_mauritius_admissions_due_to_certain_respiratory_diseases_by_sex_in_g_6bf7_2021,
186
+ title = {Admissions Due to Certain Respiratory Diseases by Sex in G | Africa (MDPA)},
187
  author = {MDPA},
188
  year = {2021},
189
  url = {https://data.govmu.org/dataset/admissions-due-certain-respiratory-diseases-sex-government-general-hospitals},
190
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
191
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mauritius-admissions-due-to-certain-respiratory-diseases-by-sex-in-g-6bf75d42}}
192
  }
193
  ```
 
196
 
197
  Released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
198
 
199
+ Original data is published by MDPA. Electric Sheep Africa
200
+ engineering standardizes the data for discovery, loading, and analysis on
201
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
202
 
203
+ ## About Electric Sheep Africa
 
 
 
 
204
 
205
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
206
 
207
  ---
208
 
209
+ Provenance: README standardized 2026-08-11 by the Electric Sheep Africa README system. Source URL: https://data.govmu.org/dataset/admissions-due-certain-respiratory-diseases-sex-government-general-hospitals