Olaroti commited on
Commit
082c238
·
verified ·
1 Parent(s): d6098cf

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +127 -82
README.md CHANGED
@@ -5,100 +5,104 @@ language:
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
- multilinguality: monolingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
- - tabular
13
- - csv
14
- - africa
15
- - rwanda
16
- - data-gov-rw
17
- - rwanda-data-sharing-platform
18
- - nisr
19
- - official-statistics
20
- - open-data
21
- - national-statistics
22
- - social-protection
23
- - aggregated-data
24
- - demographics
25
- - economics
26
- - health
27
  pretty_name: "Table 3.5: Percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex | Africa (Rwanda Data Sharing Platform - NISR)"
28
  ---
29
 
30
  # Table 3.5: Percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex | Africa (Rwanda Data Sharing Platform - NISR)
31
 
32
- 29 rows - 1 Africa country - 2023-10-16-2024-10-15 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
33
 
34
  ![rows](https://img.shields.io/badge/rows-29-blue)
35
  ![countries](https://img.shields.io/badge/countries-1-green)
36
- ![years](https://img.shields.io/badge/years-2023-10-16-2024-10-15-orange)
37
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
38
- ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
39
 
40
  ## TL;DR
41
 
42
- This dataset packages one public table from Rwanda's official Data Sharing
43
- Platform as ML-ready Parquet. The source package is the provenance boundary:
44
- all usable source columns from this table stay together in this repo.
45
 
46
- ## About the source
47
 
48
- - **Source:** [Table 3.5: Percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex](https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-1cadc8656af9)
49
- - **Publisher:** NISR
50
- - **Portal:** [Rwanda Data Sharing Platform](https://data.gov.rw/)
51
- - **Dataset ID:** `6d620928-a122-483e-8e9e-1cadc8656af9`
52
- - **Schema:** `EICV7_Main_Indicators`
53
- - **Table:** `eicv7_main_indicators_table3.5`
54
- - **Sectors:** National Statistics, Social Protection
55
- - **Source tags:** Aggregated data
56
- - **Period:** 2023-10-16-2024-10-15
57
- - **Resource:** [CSV package](https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-1cadc8656af9/download?format=csv)
58
- - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
59
- - **Packaging mode:** `tabular_resource`
60
 
61
- ## Source description
 
 
 
 
62
 
63
- Summary: This aggregated data table contains data on the percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex. This data was collected in the seventh Integrated Household Living Conditions Survey, known as EICV7 (Enquête Intégrale sur les Conditions de Vie des ménages). Geographic Coverage: National coverage (Rwanda), including rural and urban households and allowing province- and district-level estimation of key indicators. Time Period: The EICV7 data collection covered a 12 month period (October 2023 to October 2024). In order to represent the seasonality in the income and consumption data, the fieldwork was divided into nine nationally representative cycles. Frequency: The EICV is conducted every three years; prior to EICV4, the survey was conducted every five years, with the first survey (EICV1) conducted in 2000/01. Population/Units: Household members Key Variables: % with medical insurance, Total population (000s), Type of insurance Purpose: This survey serves as a key source of socio-economic data on the living conditions of Rwandan households. It plays a critical role in the ongoing monitoring and evaluation of national and international development frameworks, including the Second National Strategy for Transformation (NST2), the 2030 Sustainable Development Goals (SDGs), and Vision 2050, among others. The survey data are also vital for compiling national accounts and updating the Consumer Price Index (CPI). Data Quality Notes: The response rate exceeded 99% by the end of the survey, with 15,054 out of the 15,066 targeted households successfully interviewed. More details can be found in the EICV7 Methodological notes report.
64
 
65
- ## Geographic coverage
 
 
 
 
 
 
 
 
66
 
67
- 1 Africa country:
68
 
69
- | Country | Rows | First year | Last year | Name |
70
- |---------|-----:|-----------:|----------:|------|
71
- | `RWA` | 29 | n/a | n/a | `Rwanda` |
72
 
73
- ## Indicators or Resource Contents
 
 
74
 
75
- - This source package is published as a normalized tabular resource.
 
 
76
 
77
  ## Schema
78
 
79
  | Column | Type | Description | Example |
80
  |--------|------|-------------|---------|
81
- | `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa packaging. | `6d620928-a122-483e-8e9e-1cadc8656af9:0` |
82
- | `country_iso3` | `string` | ISO3 country code. | `RWA` |
83
- | `country_name` | `string` | Country name. | `Rwanda` |
84
  | `id` | `int64` | Row ID | `1` |
85
- | `area_of_residence_province_sex_consumption_quintile_5_ye` | `string` | Area of residence/Province/Sex/Consumption/Quintile/Age group | `Rwanda` |
86
- | `with_medical_insurance` | `float64` | % with medical insurance | `85.31091708` |
87
- | `total_population_000s` | `float64` | Total population (000s) | `13549.45694` |
88
- | `type_of_insurance_cbhi_mutuelle` | `float64` | Type of insurance: CBHI (Mutuelle) | `92.5474417` |
89
- | `type_of_insurance_rssb_former_rama` | `float64` | Type of insurance: RSSB (former RAMA) | `4.556072118` |
90
- | `type_of_insurance_employer` | `float64` | Type of insurance: Employer | `1.853282548` |
91
- | `type_of_insurance_other` | `float64` | Type of insurance: Other | `1.043203636` |
92
  | `total` | `int64` | Total | `100` |
93
- | `persons_with_health_insurance_000s` | `float64` | Persons with health insurance (000s) | `11548.71798` |
94
  | `source_provider` | `string` | Publishing organization. | `NISR` |
95
- | `source_dataset` | `string` | Source dataset title. | `Table 3.5: Percentage (%) of population with health insurance, by type...` |
96
- | `source_resource` | `string` | Source table name. | `eicv7_main_indicators_table3.5` |
97
- | `source_package_id` | `string` | Rwanda Data Sharing Platform dataset UUID. | `6d620928-a122-483e-8e9e-1cadc8656af9` |
98
- | `source_resource_id` | `string` | Rwanda Data Sharing Platform dataset UUID. | `6d620928-a122-483e-8e9e-1cadc8656af9` |
99
- | `source_url` | `string` | Original source download URL. | `https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-...` |
100
  | `license_id` | `string` | Source license identifier. | `cc-by-4.0` |
101
- | `retrieved_at` | `string` | UTC retrieval timestamp. | `2026-07-18T11:48:51Z` |
102
 
103
  ## Usage
104
 
@@ -110,29 +114,76 @@ df = ds["train"].to_pandas()
110
  print(df.head())
111
  ```
112
 
113
- ### Filter to Rwanda
114
 
115
  ```python
116
- rwanda = df[df["country_iso3"] == "RWA"]
 
117
  ```
118
 
119
- ### Work with indicators
120
 
121
  ```python
122
- if "indicator_id" in df.columns:
123
- print(df["indicator_id"].value_counts().head())
124
- sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
125
  ```
126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  ## Citation
128
 
129
  ```bibtex
130
- @misc{electric_sheep_africa_africa_rwanda_table_3_5_percentage_of_population_with_health_insurance_b_324f5c6_2026,
131
  title = {Table 3.5: Percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex | Africa (Rwanda Data Sharing Platform - NISR)},
132
  author = {NISR},
133
- year = {2026},
134
  url = {https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-1cadc8656af9},
135
- publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
136
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-rwanda-table-3-5-percentage-of-population-with-health-insurance-b-324f5c66}}
137
  }
138
  ```
@@ -141,20 +192,14 @@ if "indicator_id" in df.columns:
141
 
142
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
143
 
144
- Original data (c) NISR. When using this dataset, please cite both the
145
- original source above and the Electric Sheep Africa repackaging.
146
-
147
- ## About Electric Sheep
148
 
149
- Electric Sheep Africa is part of the Electric Sheep mission: a unified,
150
- ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
151
- open sources, normalize the schemas, package as Parquet, and publish with
152
- consistent dataset cards so researchers and developers can use `load_dataset()`
153
- to start working in seconds.
154
 
155
- Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
156
 
157
  ---
158
 
159
- Provenance: ingested 2026-07-18 via the Electric Sheep pipeline. Source URL:
160
- https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-1cadc8656af9/download?format=csv
 
5
  task_categories:
6
  - tabular-classification
7
  - tabular-regression
8
+ multilinguality: multilingual
9
  size_categories:
10
  - n<1K
11
  tags:
12
+ - "tabular"
13
+ - "africa"
14
+ - "open-data"
15
+ - "official-statistics"
16
+ - "rwanda"
17
+ - "nisr"
18
+ - "rwanda-data-sharing-platform-nisr"
19
+ - "health"
20
+ - "national-statistics-social-protection"
21
+ configs:
22
+ - config_name: default
23
+ data_files:
24
+ - split: train
25
+ path: data/train-00000-of-00001.parquet
 
26
  pretty_name: "Table 3.5: Percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex | Africa (Rwanda Data Sharing Platform - NISR)"
27
  ---
28
 
29
  # Table 3.5: Percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex | Africa (Rwanda Data Sharing Platform - NISR)
30
 
31
+ **29 rows** - **1 Africa country/area** - **2023-10-16-2024-10-15** - **source table** - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
32
 
33
  ![rows](https://img.shields.io/badge/rows-29-blue)
34
  ![countries](https://img.shields.io/badge/countries-1-green)
35
+ ![period](https://img.shields.io/badge/period-2023--10--16--2024--10--15-orange)
36
  ![indicators](https://img.shields.io/badge/indicators-0-purple)
37
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
38
 
39
  ## TL;DR
40
 
41
+ This dataset contains **29 rows** from **Rwanda Data Sharing Platform - NISR**, covering **Table 3.5: Percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex**. It is published as ML-ready Parquet with consistent Hugging Face metadata, source provenance, and analysis-friendly loading examples.
 
 
42
 
43
+ ## What This Dataset Measures
44
 
45
+ Health datasets help analysts monitor disease burden, service delivery, population health outcomes, and public-health program performance.
46
+
47
+ Source-provided context: Summary: This aggregated data table contains data on the percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex. This data was collected in the seventh Integrated Household Living Conditions Survey, known as EICV7 (Enquête Intégrale sur les Conditions de Vie des ménages). Geographic Coverage: National coverage (Rwanda), including rural and urban households and allowing province- and district-level estimation of key indicators. Time Period: The EICV7 data collection covered a 12 month period (October 2023 to October 2024). In order to represent the seasonality in the income and consumption data, the fieldwork was divided into nine nationally representative cycles. Frequency: The EICV is conducted every three years; prior to EICV4, the survey was conducted every five years, with the first survey (EICV1) conducted in 2000/01.
48
+
49
+ ## How To Read This Dataset
 
 
 
 
 
 
 
50
 
51
+ - **One row means:** one source record from the original tabular resource, with Electric Sheep Africa provenance columns added where available.
52
+ - **Primary geography column:** `country_iso3`.
53
+ - **Best time column:** `not detected`.
54
+ - **Time coverage basis:** source metadata period.
55
+ - **Recommended join keys:** `country_iso3` where available plus source-specific keys.
56
 
57
+ ## Coverage
58
 
59
+ | Dimension | Value |
60
+ |---|---:|
61
+ | Rows | 29 |
62
+ | Countries/areas | 1 |
63
+ | First period | 2023-10-16 |
64
+ | Last period | 2024-10-15 |
65
+ | Indicators | 0 |
66
+ | Columns | 21 |
67
+ | Source format | CSV |
68
 
69
+ ## Geographic Coverage
70
 
71
+ Top areas shown below, sorted by row count when available:
 
 
72
 
73
+ | Area | Rows | First year | Last year | Name |
74
+ |------|-----:|-----------:|----------:|------|
75
+ | `RWA` | 29 | 2023-10-16 | 2024-10-15 | `Rwanda` |
76
 
77
+ ## Indicators, Variables, Or Resource Contents
78
+
79
+ - This repo preserves one source tabular resource with its usable columns kept together.
80
 
81
  ## Schema
82
 
83
  | Column | Type | Description | Example |
84
  |--------|------|-------------|---------|
85
+ | `source_record_id` | `string` | Stable row identifier assigned during Electric Sheep Africa engineering. | `6d620928-a122-483e-8e9e-1cadc8656af9:0` |
86
+ | `country_iso3` | `string` | ISO3 country or area code. | `RWA` |
87
+ | `country_name` | `string` | Country or area name. | `Rwanda` |
88
  | `id` | `int64` | Row ID | `1` |
89
+ | `area_of_residence_province_sex_consumption_quintile_5_ye` | `string` | Source column from the original resource. | `Rwanda` |
90
+ | `with_medical_insurance` | `double` | % with medical insurance | `85.31091708` |
91
+ | `total_population_000s` | `double` | Total population (000s) | `13549.45694` |
92
+ | `type_of_insurance_cbhi_mutuelle` | `double` | Type of insurance: CBHI (Mutuelle) | `92.5474417` |
93
+ | `type_of_insurance_rssb_former_rama` | `double` | Type of insurance: RSSB (former RAMA) | `4.556072118` |
94
+ | `type_of_insurance_employer` | `double` | Type of insurance: Employer | `1.853282548` |
95
+ | `type_of_insurance_other` | `double` | Type of insurance: Other | `1.043203636` |
96
  | `total` | `int64` | Total | `100` |
97
+ | `persons_with_health_insurance_000s` | `double` | Persons with health insurance (000s) | `11548.71798` |
98
  | `source_provider` | `string` | Publishing organization. | `NISR` |
99
+ | `source_dataset` | `string` | Source dataset or package title. | `Table 3.5: Percentage (%) of population with health insurance, by typ...` |
100
+ | `source_resource` | `string` | Source resource title, table name, or file name. | `eicv7_main_indicators_table3.5` |
101
+ | `source_package_id` | `string` | Source package identifier. | `6d620928-a122-483e-8e9e-1cadc8656af9` |
102
+ | `source_resource_id` | `string` | Source resource identifier. | `6d620928-a122-483e-8e9e-1cadc8656af9` |
103
+ | `source_url` | `string` | Original source URL or download URL. | `https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9...` |
104
  | `license_id` | `string` | Source license identifier. | `cc-by-4.0` |
105
+ | `retrieved_at` | `string` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-18T11:48:51Z` |
106
 
107
  ## Usage
108
 
 
114
  print(df.head())
115
  ```
116
 
117
+ ### Inspect Columns
118
 
119
  ```python
120
+ print(df.info())
121
+ print(df.head())
122
  ```
123
 
124
+ ### Filter By Geography
125
 
126
  ```python
127
+ if "country_iso3" in df.columns:
128
+ sample = df[df["country_iso3"] == "RWA"]
 
129
  ```
130
 
131
+ ### Time-Series Pattern
132
+
133
+ ```python
134
+ if "value" in df.columns and "year" in df.columns:
135
+ trend = df.sort_values("year")
136
+ ```
137
+
138
+ ### Pivot For Analysis
139
+
140
+ ```python
141
+ if {"indicator_id", "year", "value"}.issubset(df.columns):
142
+ matrix = df.pivot_table(index="year", columns="indicator_id", values="value")
143
+ print(matrix.tail())
144
+ ```
145
+
146
+ ## Data Quality Notes
147
+
148
+ - No canonical year/date column was detected in the packaged table; use source metadata and domain context for temporal interpretation.
149
+ - Missing values are preserved rather than silently imputed.
150
+ - Column names are standardized for machine use; source meanings are preserved where known.
151
+ - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use.
152
+
153
+ ## Source And Provenance
154
+
155
+ - **Source:** [Rwanda Data Sharing Platform - NISR](https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-1cadc8656af9)
156
+ - **Publisher:** NISR
157
+ - **Portal:** [https://data.gov.rw/](https://data.gov.rw/)
158
+ - **Resource:** [eicv7_main_indicators_table3.5](https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-1cadc8656af9/download?format=csv)
159
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
160
+ - **Retrieved/generated:** `2026-07-18T12:58:05Z`
161
+ - **Hugging Face repo:** [electricsheepafrica/africa-rwanda-table-3-5-percentage-of-population-with-health-insurance-b-324f5c66](https://huggingface.co/datasets/electricsheepafrica/africa-rwanda-table-3-5-percentage-of-population-with-health-insurance-b-324f5c66)
162
+
163
+ ## Transformations Applied
164
+
165
+ - Converted the source table to Parquet for efficient analytics and ML workflows.
166
+ - Added or preserved source provenance columns where available.
167
+ - Standardized README metadata, dataset loading configuration, schema documentation, and citation format.
168
+ - Preserved source-reported values without analytical imputation.
169
+
170
+ ## Suggested Analyses
171
+
172
+ - Compare health outcomes across geographies
173
+ - Track changes over time
174
+ - Join with population or facility data
175
+ - Check missingness before modeling
176
+ - Use `country_iso3` as the safest geography join key when present
177
+
178
  ## Citation
179
 
180
  ```bibtex
181
+ @misc{electric_sheep_africa_africa_rwanda_table_3_5_percentage_of_population_with_health_insurance_b_324f5c6_2024,
182
  title = {Table 3.5: Percentage (%) of population with health insurance, by type of insurance, according to area of residence, province, consumption quintile and sex | Africa (Rwanda Data Sharing Platform - NISR)},
183
  author = {NISR},
184
+ year = {2024},
185
  url = {https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-1cadc8656af9},
186
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
187
  howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-rwanda-table-3-5-percentage-of-population-with-health-insurance-b-324f5c66}}
188
  }
189
  ```
 
192
 
193
  Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
194
 
195
+ Original data is published by NISR. Electric Sheep Africa
196
+ engineering standardizes the data for discovery, loading, and analysis on
197
+ Hugging Face. Cite both the original source and this ML-ready dataset when used.
 
198
 
199
+ ## About Electric Sheep Africa
 
 
 
 
200
 
201
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
202
 
203
  ---
204
 
205
+ Provenance: README standardized 2026-08-12 by the Electric Sheep Africa README system. Source URL: https://api.data.gov.rw/api/v1/datasets/public/6d620928-a122-483e-8e9e-1cadc8656af9