Logo Lanfrica

Dianndra/hospital_data

Domain:

healthcare

Record type:

dataset
Creator:
Dia
Host:
This project focuses on building a structured dataset and analytical dashboard of hospitals in Lagos State, Nigeria. The goal was to transform publicly available but unstructured healthcare data into actionable insights that can support planning, accessibility analysis, and healthcare decision-making. # πŸ₯ Lagos State Hospital Data Analysis ## πŸ“Έ Dashboard Preview ## πŸ“Œ Project Overview This project focuses on building a structured dataset and analytical dashboard of hospitals in Lagos State, Nigeria. The goal was to transform publicly available but unstructured healthcare data into actionable insights that can support planning, accessibility analysis, and healthcare decision-making. ## 🎯 Objectives - Extract and compile a dataset of **Primary, Secondary, and Tertiary hospitals in Lagos State** ### Analyse: - Distribution of **Private vs Government-owned hospitals** - **Average time in operation** - Breakdown by **Healthcare Tier** - Distribution across **Local Government Areas (LGA)** ## πŸ“Š Data Source - **Source:** Federal Ministry of Health Facility Registry - **Link:** hfr.health.gov.ng ### Dataset Fields: - Facility Name - Facility Type - Address / Location - Tier (Primary, Secondary, Tertiary) - Start Date - Ownership (Private/Government) - Facility ID ## πŸ›  Tools & Technologies - **Python (Selenium, WebDriver)** – Data scraping - **SQL** – Data cleaning and transformation - **Power BI** – Data visualization and dashboard creation ## βš™οΈ Methodology ### 1. Data Collection The data was scraped from the official health facility registry website using **Selenium** due to dynamic page loading and pagination. WebDriver was used to automate navigation across multiple pages. ### 2. Data Cleaning Using SQL: - Removed duplicates and inconsistencies - Standardised categorical fields (e.g., ownership, tier) - Handled missing or incomplete values - Structured date fields for analysis ### 3. Data Analysis & Visualization The cleaned dataset was imported into Power BI to create an interactive dashboard highlighting key healthcare distribution patterns. ## πŸ“ˆ Key Insights - A significant proportion of hospitals are **privately owned**, indicating reliance on private healthcare services - **Primary healthcare facili …