Skip to content

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Hospital Beds Management — Capacity & Demand Analytics

13,493 bed requests · 52 weeks · 4 services → the number that matters: 56.6% of demand refused.

Python Pandas NumPy Matplotlib uv CSV Verified

A data analysis of a year of hospital operations — bed capacity, demand, staffing, and disruption events — built from four raw CSV files with Python, Pandas, and Matplotlib. Every number on this page is produced by a script in this repository, run against the source data. Nothing is estimated and nothing is copied from elsewhere.

Note

Why this stands out: the analysis finds the problem where the obvious metric can't see it. Bed utilization is 100% for emergency — every week — because admissions are capped by beds. The admission refusal rate is what exposes the gap: 80.9% of emergency requests are refused. And a second layer — event-level analysis — finds that staff morale collapses in strike weeks (53.7 vs 73.1 baseline) even though workload shows zero correlation. Both findings come from the same small dataset and two re-runnable scripts.

Table of Contents

  1. Executive Summary
  2. Business Problem
  3. Headline KPIs
  4. Dataset
  5. Analysis Pipeline
  6. Key Insights
  7. Business Recommendations
  8. Engineering Decisions
  9. Repository Structure
  10. Quick Start
  11. Known Limitations
  12. About the Author

Executive Summary

A hospital runs four services — emergency, surgery, general medicine, and ICU — against a fixed weekly bed supply. In 2025, 7,642 of 13,493 bed requests (56.6%) were refused. This project turns the four raw CSV extracts behind that number into a verified picture of where the capacity gap is worst, when demand peaks, and how staffing and disruption events shape outcomes.

The workflow is a single reproducible pipeline: scripts/analyze_data.py computes every KPI and writes a JSON report; scripts/generate_charts.py renders the visualizations from the same pipeline. Run both, get this analysis. No database, no dashboard tool, no hand-made figures.