--- license: cc-by-4.0 language: - en task_categories: - tabular-classification - tabular-regression multilinguality: multilingual size_categories: - 10K` | ISO3 country or area code. | `SOM` | | `country_name` | `dictionary` | Country or area name. | `Somalia` | | `source_sheet` | `string` | Source column from the original resource. | `Subsaharan_health_facilities` | | `country` | `string` | Source column from the original resource. | `Angola` | | `admin1` | `string` | Source column from the original resource. | `Bengo` | | `facility_n` | `string` | Source column from the original resource. | `Hospital Barra Do Dande` | | `facility_t` | `string` | Source column from the original resource. | `Hospital` | | `ownership` | `string` | Source column from the original resource. | `Govt.` | | `lat` | `double` | Source column from the original resource. | `-8.656` | | `long` | `double` | Source column from the original resource. | `13.4918999999999` | | `ll_source` | `string` | Source column from the original resource. | `Google Earth` | | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `` | | `source_period_end_year` | `int64` | End year inferred from source metadata. | `` | | `source_period_label` | `string` | Source column from the original resource. | `` | | `source_provider` | `dictionary` | Publishing organization. | `HDX` | | `source_dataset` | `dictionary` | Source dataset or package title. | `Health Facilities in Sub-Saharan Africa` | | `source_resource` | `dictionary` | Source resource title, table name, or file name. | `Sub-Saharan_health_facilities.xlsx` | | `source_package_id` | `dictionary` | Source package identifier. | `eb1ba830-9464-43c8-9370-28cee0c99f5d` | | `source_resource_id` | `dictionary` | Source resource identifier. | `758d5c17-88f4-42b2-9d4b-4bfe32d4acf7` | | `source_url` | `dictionary` | Original source URL or download URL. | `https://data.humdata.org/dataset/eb1ba830-9464-43c8-9370-28cee0c99f5d...` | | `license_id` | `dictionary` | Source license identifier. | `cc-by` | | `retrieved_at` | `dictionary` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-08-10T14:51:11Z` | ## Usage ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-somalia-health-facilities-in-sub-saharan-africa-852769b7") df = ds["train"].to_pandas() print(df.head()) ``` ### Inspect Columns ```python print(df.info()) print(df.head()) ``` ### Filter By Geography ```python if "country_iso3" in df.columns: sample = df[df["country_iso3"] == "SOM"] ``` ### Time-Series Pattern ```python if "value" in df.columns and "source_period_start_year" in df.columns: trend = df.sort_values("source_period_start_year") ``` ### Pivot For Analysis ```python if {"indicator_id", "year", "value"}.issubset(df.columns): matrix = df.pivot_table(index="year", columns="indicator_id", values="value") print(matrix.tail()) ``` ## Data Quality Notes - Canonical time field: `source_period_start_year`. - Missing values are preserved rather than silently imputed. - Column names are standardized for machine use; source meanings are preserved where known. - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use. ## Source And Provenance - **Source:** [HDX](https://data.humdata.org/dataset/health-facilities-in-sub-saharan-africa) - **Publisher:** HDX - **Portal:** [https://data.humdata.org](https://data.humdata.org) - **Resource:** [Sub-Saharan_health_facilities.xlsx](https://data.humdata.org/dataset/eb1ba830-9464-43c8-9370-28cee0c99f5d/resource/758d5c17-88f4-42b2-9d4b-4bfe32d4acf7/download/sub-saharan_health_facilities.xlsx) - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) - **Retrieved/generated:** `2026-08-10T16:16:56Z` - **Hugging Face repo:** [electricsheepafrica/africa-somalia-health-facilities-in-sub-saharan-africa-852769b7](https://huggingface.co/datasets/electricsheepafrica/africa-somalia-health-facilities-in-sub-saharan-africa-852769b7) ## Transformations Applied - Converted the source table to Parquet for efficient analytics and ML workflows. - Added or preserved source provenance columns where available. - Standardized README metadata, dataset loading configuration, schema documentation, and citation format. - Preserved source-reported values without analytical imputation. ## Suggested Analyses - Compare health outcomes across geographies - Track changes over time - Join with population or facility data - Build time-series views and period-over-period comparisons - Check missingness before modeling - Use `country_iso3` as the safest geography join key when present ## Citation ```bibtex @misc{electric_sheep_africa_africa_somalia_health_facilities_in_sub_saharan_africa_852769b7_2026, title = {Health Facilities in Sub Saharan Africa | Africa (HDX)}, author = {HDX}, year = {2026}, url = {https://data.humdata.org/dataset/health-facilities-in-sub-saharan-africa}, publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-somalia-health-facilities-in-sub-saharan-africa-852769b7}} } ``` ## License Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Original data is published by HDX. Electric Sheep Africa engineering standardizes the data for discovery, loading, and analysis on Hugging Face. Cite both the original source and this ML-ready dataset when used. ## About Electric Sheep Africa Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face. --- Provenance: README standardized 2026-08-12 by the Electric Sheep Africa README system. Source URL: https://data.humdata.org/dataset/health-facilities-in-sub-saharan-africa