electricsheepafrica/africa-demographics-eritrea
收藏Hugging Face2026-04-21 更新2026-04-26 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-demographics-eritrea
下载链接
链接失效反馈官方服务:
资源简介:
---
annotations_creators:
- no-annotation
language_creators:
- found
language:
- en
license: other
multilinguality:
- monolingual
size_categories:
- n<1K
source_datasets:
- original
task_categories:
- tabular-classification
- other
task_ids: []
tags:
- africa
- humanitarian
- hdx
- electric-sheep-africa
- demographics
- health
- eri
pretty_name: "Eritrea - Subnational Demographic and Health Data"
dataset_info:
splits:
- name: train
num_examples: 201
- name: test
num_examples: 50
---
# Eritrea - Subnational Demographic and Health Data
**Publisher:** The DHS Program · **Source:** [HDX](https://data.humdata.org/dataset/dhs-subnational-data-for-eritrea) · **License:** `hdx-other` · **Updated:** 2026-04-20
---
## Abstract
Contains data from the [DHS data portal](https://api.dhsprogram.com/). There is also a dataset containing [Eritrea - National Demographic and Health Data](https://data.humdata.org/dataset/dhs-data-for-eritrea) on HDX.
The DHS Program Application Programming Interface (API) provides software developers access to aggregated indicator data from The Demographic and Health Surveys (DHS) Program. The API can be used to create various applications to help analyze, visualize, explore and disseminate data on population, health, HIV, and nutrition from more than 90 countries.
Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2026-04-20. Geographic scope: **ERI**.
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
---
## Dataset Characteristics
| | |
|---|---|
| **Domain** | Public health |
| **Unit of observation** | First-level administrative unit observations |
| **Rows (total)** | 252 |
| **Columns** | 30 (14 numeric, 16 categorical, 0 datetime) |
| **Train split** | 201 rows |
| **Test split** | 50 rows |
| **Geographic scope** | ERI |
| **Publisher** | The DHS Program |
| **HDX last updated** | 2026-04-20 |
---
## Variables
**Geographic** — `iso3` (ERI), `location` (Southern Red Sea, Northern Red Sea, Anseba), `dhs_countrycode` (ER), `countryname` (Eritrea), `surveyyear` (range 1995.0–2002.0) and 8 others.
**Outcome / Measurement** — `value` (range 0.5–239.0), `istotal` (range 0.0–0.0).
**Identifier / Metadata** — `dataid` (range 39517.0–7962888.0), `indicatorid` (RH_DELP_C_DHF, CH_DIAT_C_ORT, CH_VACC_C_BAS), `characteristicid` (range 404001.0–404006.0), `characteristiclabel` (Southern Red Sea, Northern Red Sea, Anseba), `ispreferred` (range 0.0–1.0) and 3 others.
**Other** — `indicator` (Place of delivery: Health facility, Treatment of diarrhea: Either ORS or RHF, Fully vaccinated (8 basic antigens)), `precision` (range 0.0–1.0), `indicatororder` (range 11763080.0–260321010.0), `characteristicorder` (range 1404001.0–1404006.0), `denominatorweighted` (range 11.0–2763.0) and 2 others.
---
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-demographics-eritrea")
train = ds["train"].to_pandas()
test = ds["test"].to_pandas()
print(train.shape)
train.head()
```
---
## Schema
| Column | Type | Null % | Range / Sample Values |
|---|---|---|---|
| `iso3` | object | 0.0% | ERI |
| `location` | object | 0.0% | Southern Red Sea, Northern Red Sea, Anseba |
| `dataid` | int64 | 0.0% | 39517.0 – 7962888.0 (mean 4154143.3056) |
| `indicator` | object | 0.0% | Place of delivery: Health facility, Treatment of diarrhea: Either ORS or RHF, Fully vaccinated (8 basic antigens) |
| `value` | float64 | 0.0% | 0.5 – 239.0 (mean 35.5591) |
| `precision` | int64 | 0.0% | 0.0 – 1.0 (mean 0.9048) |
| `dhs_countrycode` | object | 0.0% | ER |
| `countryname` | object | 0.0% | Eritrea |
| `surveyyear` | int64 | 0.0% | 1995.0 – 2002.0 (mean 1998.6667) |
| `surveyid` | object | 0.0% | ER2002DHS, ER1995DHS |
| `indicatorid` | object | 0.0% | RH_DELP_C_DHF, CH_DIAT_C_ORT, CH_VACC_C_BAS |
| `indicatororder` | int64 | 0.0% | 11763080.0 – 260321010.0 (mean 91556205.4762) |
| `indicatortype` | object | 0.0% | I |
| `characteristicid` | int64 | 0.0% | 404001.0 – 404006.0 (mean 404003.5) |
| `characteristicorder` | int64 | 0.0% | 1404001.0 – 1404006.0 (mean 1404003.5) |
| `characteristiccategory` | object | 0.0% | Region |
| `characteristiclabel` | object | 0.0% | Southern Red Sea, Northern Red Sea, Anseba |
| `byvariableid` | int64 | 0.0% | 0.0 – 14003.0 (mean 4000.4286) |
| `byvariablelabel` | object | 71.4% | |
| `istotal` | int64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
| `ispreferred` | int64 | 0.0% | 0.0 – 1.0 (mean 0.881) |
| `sdrid` | object | 0.0% | |
| `regionid` | object | 0.0% | |
| `surveyyearlabel` | int64 | 0.0% | 1995.0 – 2002.0 (mean 1998.6667) |
| `surveytype` | object | 0.0% | |
| `denominatorweighted` | float64 | 28.6% | 11.0 – 2763.0 (mean 645.4889) |
| `denominatorunweighted` | float64 | 28.6% | 27.0 – 1888.0 (mean 640.7611) |
| `levelrank` | int64 | 0.0% | 1.0 – 1.0 (mean 1.0) |
| `esa_source` | object | 0.0% | |
| `esa_processed` | object | 0.0% | |
---
## Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
| `dataid` | 39517.0 | 7962888.0 | 4154143.3056 | 4105188.0 |
| `value` | 0.5 | 239.0 | 35.5591 | 20.2 |
| `precision` | 0.0 | 1.0 | 0.9048 | 1.0 |
| `surveyyear` | 1995.0 | 2002.0 | 1998.6667 | 2002.0 |
| `indicatororder` | 11763080.0 | 260321010.0 | 91556205.4762 | 83566070.0 |
| `characteristicid` | 404001.0 | 404006.0 | 404003.5 | 404003.5 |
| `characteristicorder` | 1404001.0 | 1404006.0 | 1404003.5 | 1404003.5 |
| `byvariableid` | 0.0 | 14003.0 | 4000.4286 | 0.0 |
| `istotal` | 0.0 | 0.0 | 0.0 | 0.0 |
| `ispreferred` | 0.0 | 1.0 | 0.881 | 1.0 |
| `surveyyearlabel` | 1995.0 | 2002.0 | 1998.6667 | 2002.0 |
| `denominatorweighted` | 11.0 | 2763.0 | 645.4889 | 453.0 |
| `denominatorunweighted` | 27.0 | 1888.0 | 640.7611 | 562.5 |
| `levelrank` | 1.0 | 1.0 | 1.0 | 1.0 |
---
## Curation
Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. 2 column(s) with >80% missing values were removed: `cilow`, `cihigh`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
---
## Limitations
- Data originates from The DHS Program and has not been independently validated by ESA.
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
- The following columns have >20% missing values and should be treated with caution in modelling: `byvariablelabel`, `denominatorweighted`, `denominatorunweighted`.
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/dhs-subnational-data-for-eritrea) for the publisher's own methodology notes and caveats.
---
## Citation
```bibtex
@dataset{hdx_africa_demographics_eritrea,
title = {Eritrea - Subnational Demographic and Health Data},
author = {The DHS Program},
year = {2026},
url = {https://data.humdata.org/dataset/dhs-subnational-data-for-eritrea},
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}
```
---
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
提供机构:
electricsheepafrica



