--- 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 - ago pretty_name: Angola - National Demographic and Health Data dataset_info: features: - name: adm2_pcode dtype: string - name: female_pop dtype: int64 - name: children_u5 dtype: int64 - name: female_u5 dtype: int64 - name: elderly dtype: int64 - name: pop_u15 dtype: int64 - name: female_u15 dtype: int64 - name: female_pop_rural dtype: int64 - name: children_u5_rural dtype: int64 - name: female_u5_rural dtype: int64 - name: elderly_rural dtype: int64 - name: pop_u15_rural dtype: int64 - name: female_u15_rural dtype: int64 - name: rural_pop_perc dtype: float64 - name: adm_pcode dtype: string - name: esa_source dtype: string - name: esa_processed dtype: string splits: - name: train num_bytes: 18816 num_examples: 128 - name: test num_bytes: 4851 num_examples: 33 download_size: 28756 dataset_size: 23667 configs: - config_name: default data_files: - split: train path: data/train-* - split: test path: data/test-* --- # Angola - National Demographic and Health Data **Publisher:** The DHS Program · **Source:** [HDX](https://data.humdata.org/dataset/dhs-data-for-angola) · **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 [Angola - Subnational Demographic and Health Data](https://data.humdata.org/dataset/dhs-subnational-data-for-angola) 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: **AGO**. *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)** | 82 | | **Columns** | 29 (14 numeric, 15 categorical, 0 datetime) | | **Train split** | 65 rows | | **Test split** | 16 rows | | **Geographic scope** | AGO | | **Publisher** | The DHS Program | | **HDX last updated** | 2026-04-20 | --- ## Variables **Geographic** — `iso3` (AGO), `dhs_countrycode` (AO), `countryname` (Angola), `surveyyear` (range 2006.0–2023.0), `surveyid` (AO2023DHS, AO2015DHS, AO2011MIS) and 6 others. **Outcome / Measurement** — `value` (range 0.8–239.0), `istotal` (range 1.0–1.0). **Identifier / Metadata** — `dataid` (range 1062.0–832214.0), `indicatorid` (RH_DELP_C_DHF, CM_ECMR_C_IMR, CM_ECMR_C_U5M), `characteristicid` (range 1000.0–10000.0), `characteristiclabel` (Total, Total 15-49), `ispreferred` (range 0.0–1.0) and 3 others. **Other** — `indicator` (Place of delivery: Health facility, Infant mortality rate, Under-five mortality rate), `precision` (range 0.0–1.0), `indicatororder` (range 11763080.0–260321010.0), `characteristicorder` (range 0.0–10000.0), `denominatorweighted` (range 391.0–16243.0) and 3 others. --- ## Quick Start ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-demographics-angola") 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% | AGO | | `dataid` | int64 | 0.0% | 1062.0 – 832214.0 (mean 475955.5366) | | `indicator` | object | 0.0% | Place of delivery: Health facility, Infant mortality rate, Under-five mortality rate | | `value` | float64 | 0.0% | 0.8 – 239.0 (mean 38.5915) | | `precision` | int64 | 0.0% | 0.0 – 1.0 (mean 0.8171) | | `dhs_countrycode` | object | 0.0% | AO | | `countryname` | object | 0.0% | Angola | | `surveyyear` | int64 | 0.0% | 2006.0 – 2023.0 (mean 2016.9024) | | `surveyid` | object | 0.0% | AO2023DHS, AO2015DHS, AO2011MIS | | `indicatorid` | object | 0.0% | RH_DELP_C_DHF, CM_ECMR_C_IMR, CM_ECMR_C_U5M | | `indicatororder` | int64 | 0.0% | 11763080.0 – 260321010.0 (mean 108452266.8293) | | `indicatortype` | object | 0.0% | I | | `characteristicid` | int64 | 0.0% | 1000.0 – 10000.0 (mean 3304.878) | | `characteristicorder` | int64 | 0.0% | 0.0 – 10000.0 (mean 2560.9756) | | `characteristiccategory` | object | 0.0% | Total, Total 15-49 | | `characteristiclabel` | object | 0.0% | Total, Total 15-49 | | `byvariableid` | int64 | 0.0% | 0.0 – 631002.0 (mean 27183.3902) | | `byvariablelabel` | object | 67.1% | 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.8171) | | `sdrid` | object | 0.0% | | | `surveyyearlabel` | object | 0.0% | | | `surveytype` | object | 0.0% | | | `denominatorweighted` | float64 | 30.5% | 391.0 – 16243.0 (mean 7204.5088) | | `denominatorunweighted` | float64 | 30.5% | 406.0 – 16243.0 (mean 7289.7719) | | `cilow` | float64 | 74.4% | 0.5 – 164.0 (mean 48.181) | | `cihigh` | float64 | 74.4% | 1.2 – 313.0 (mean 76.6238) | | `esa_source` | object | 0.0% | | | `esa_processed` | object | 0.0% | | --- ## Numeric Summary | Column | Min | Max | Mean | Median | |---|---|---|---|---| | `dataid` | 1062.0 | 832214.0 | 475955.5366 | 477348.0 | | `value` | 0.8 | 239.0 | 38.5915 | 31.8 | | `precision` | 0.0 | 1.0 | 0.8171 | 1.0 | | `surveyyear` | 2006.0 | 2023.0 | 2016.9024 | 2015.0 | | `indicatororder` | 11763080.0 | 260321010.0 | 108452266.8293 | 94001135.0 | | `characteristicid` | 1000.0 | 10000.0 | 3304.878 | 1000.0 | | `characteristicorder` | 0.0 | 10000.0 | 2560.9756 | 0.0 | | `byvariableid` | 0.0 | 631002.0 | 27183.3902 | 0.0 | | `istotal` | 1.0 | 1.0 | 1.0 | 1.0 | | `ispreferred` | 0.0 | 1.0 | 0.8171 | 1.0 | | `denominatorweighted` | 391.0 | 16243.0 | 7204.5088 | 7019.0 | | `denominatorunweighted` | 406.0 | 16243.0 | 7289.7719 | 7156.0 | | `cilow` | 0.5 | 164.0 | 48.181 | 45.0 | | `cihigh` | 1.2 | 313.0 | 76.6238 | 56.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-angola) for the publisher's own methodology notes and caveats. --- ## Citation ```bibtex @dataset{hdx_africa_demographics_angola, title = {Angola - National Demographic and Health Data}, author = {The DHS Program}, year = {2026}, url = {https://data.humdata.org/dataset/dhs-data-for-angola}, 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.*