five

electricsheepafrica/africa-demographics-togo

收藏
Hugging Face2026-04-21 更新2026-04-26 收录
下载链接:
https://hf-mirror.com/datasets/electricsheepafrica/africa-demographics-togo
下载链接
链接失效反馈
官方服务:
资源简介:
--- annotations_creators: - no-annotation language_creators: - found language: - en license: other multilinguality: - monolingual size_categories: - n<1K source_datasets: - original task_categories: - tabular-classification task_ids: [] tags: - africa - humanitarian - hdx - electric-sheep-africa - demographics - health - tgo pretty_name: "Togo - National Demographic and Health Data" dataset_info: splits: - name: train num_examples: 55 - name: test num_examples: 13 --- # Togo - National Demographic and Health Data **Publisher:** The DHS Program · **Source:** [HDX](https://data.humdata.org/dataset/dhs-data-for-togo) · **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 [Togo - Subnational Demographic and Health Data](https://data.humdata.org/dataset/dhs-subnational-data-for-togo) 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 country-level aggregates. Data was last updated on HDX on 2026-04-20. Geographic scope: **TGO**. *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).* --- ## Dataset Characteristics | | | |---|---| | **Domain** | Public health | | **Unit of observation** | Country-level aggregates | | **Rows (total)** | 69 | | **Columns** | 29 (14 numeric, 15 categorical, 0 datetime) | | **Train split** | 55 rows | | **Test split** | 13 rows | | **Geographic scope** | TGO | | **Publisher** | The DHS Program | | **HDX last updated** | 2026-04-20 | --- ## Variables **Geographic** — `iso3` (TGO), `dhs_countrycode` (TG), `countryname` (Togo), `surveyyear` (range 1988.0–2017.0), `surveyid` (TG2013DHS, TG1998DHS, TG1988DHS) and 6 others. **Outcome / Measurement** — `value` (range 0.5–417.0), `istotal` (range 1.0–1.0). **Identifier / Metadata** — `dataid` (range 1371.0–829390.0), `indicatorid` (CM_ECMR_C_IMR, CM_ECMR_C_U5M, RH_DELP_C_DHF), `characteristicid` (range 1000.0–10000.0), `characteristiclabel` (Total, Total 15-49), `ispreferred` (range 0.0–1.0) and 3 others. **Other** — `indicator` (Infant mortality rate, Under-five mortality rate, Place of delivery: Health facility), `precision` (range 0.0–1.0), `indicatororder` (range 11763080.0–260321010.0), `characteristicorder` (range 0.0–10000.0), `denominatorweighted` (range 717.0–9549.0) and 3 others. --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-demographics-togo") 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% | TGO | | `dataid` | int64 | 0.0% | 1371.0 – 829390.0 (mean 444085.8696) | | `indicator` | object | 0.0% | Infant mortality rate, Under-five mortality rate, Place of delivery: Health facility | | `value` | float64 | 0.0% | 0.5 – 417.0 (mean 49.7174) | | `precision` | int64 | 0.0% | 0.0 – 1.0 (mean 0.7971) | | `dhs_countrycode` | object | 0.0% | TG | | `countryname` | object | 0.0% | Togo | | `surveyyear` | int64 | 0.0% | 1988.0 – 2017.0 (mean 2005.2464) | | `surveyid` | object | 0.0% | TG2013DHS, TG1998DHS, TG1988DHS | | `indicatorid` | object | 0.0% | CM_ECMR_C_IMR, CM_ECMR_C_U5M, RH_DELP_C_DHF | | `indicatororder` | int64 | 0.0% | 11763080.0 – 260321010.0 (mean 95832586.5217) | | `indicatortype` | object | 0.0% | I | | `characteristicid` | int64 | 0.0% | 1000.0 – 10000.0 (mean 2434.7826) | | `characteristicorder` | int64 | 0.0% | 0.0 – 10000.0 (mean 1594.2029) | | `characteristiccategory` | object | 0.0% | Total, Total 15-49 | | `characteristiclabel` | object | 0.0% | Total, Total 15-49 | | `byvariableid` | int64 | 0.0% | 0.0 – 631001.0 (mean 13203.3478) | | `byvariablelabel` | object | 69.6% | Five years preceding the survey, Ten years preceding the survey, Three years preceding the survey | | `istotal` | int64 | 0.0% | 1.0 – 1.0 (mean 1.0) | | `ispreferred` | int64 | 0.0% | 0.0 – 1.0 (mean 0.8261) | | `sdrid` | object | 0.0% | | | `surveyyearlabel` | object | 0.0% | | | `surveytype` | object | 0.0% | | | `denominatorweighted` | float64 | 37.7% | 717.0 – 9549.0 (mean 4824.5814) | | `denominatorunweighted` | float64 | 37.7% | 778.0 – 9549.0 (mean 4921.6047) | | `cilow` | float64 | 75.4% | 1.2 – 299.0 (mean 99.6882) | | `cihigh` | float64 | 75.4% | 2.2 – 535.0 (mean 139.6353) | | `esa_source` | object | 0.0% | | | `esa_processed` | object | 0.0% | | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `dataid` | 1371.0 | 829390.0 | 444085.8696 | 472845.0 | | `value` | 0.5 | 417.0 | 49.7174 | 27.5 | | `precision` | 0.0 | 1.0 | 0.7971 | 1.0 | | `surveyyear` | 1988.0 | 2017.0 | 2005.2464 | 2013.0 | | `indicatororder` | 11763080.0 | 260321010.0 | 95832586.5217 | 83566070.0 | | `characteristicid` | 1000.0 | 10000.0 | 2434.7826 | 1000.0 | | `characteristicorder` | 0.0 | 10000.0 | 1594.2029 | 0.0 | | `byvariableid` | 0.0 | 631001.0 | 13203.3478 | 0.0 | | `istotal` | 1.0 | 1.0 | 1.0 | 1.0 | | `ispreferred` | 0.0 | 1.0 | 0.8261 | 1.0 | | `denominatorweighted` | 717.0 | 9549.0 | 4824.5814 | 4115.0 | | `denominatorunweighted` | 778.0 | 9549.0 | 4921.6047 | 4246.0 | | `cilow` | 1.2 | 299.0 | 99.6882 | 76.0 | | `cihigh` | 2.2 | 535.0 | 139.6353 | 93.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: `regionid`, `levelrank`. 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`, `cilow`, `cihigh`. - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/dhs-data-for-togo) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_demographics_togo, title = {Togo - National Demographic and Health Data}, author = {The DHS Program}, year = {2026}, url = {https://data.humdata.org/dataset/dhs-data-for-togo}, 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
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作