Skip to content

Releases: DotWallop/FlytStat

Release list

v1.0.0

Choose a tag to compare

@DotWallop DotWallop released this 11 Apr 22:10

📦 FlytStat v1.0.0

ChatGPT
Final project release for the USN PY1010 programming course.

This MVP version of FlytStat is a command-line tool for analyzing pseudonymized triage data from the emergency room. It handles ID hashing, data cleaning, and plotting — all built in pure Python.


✨ Features

  • ETL-style pipeline

    • Reads triage data from an Excel source
    • Hashes NPR IDs into persistent aliases
    • Prepares the data for interactive visualization
  • Visualization tools

    • 📊 Stacked bar chart showing patient inflow by hour
    • 🥧 Pie chart showing symptom distribution for a selected date
    • ⏱️ Metadata overview (date range, total number of patients)
  • User-friendly CLI

    • Menu-based navigation
    • Interactive date selection
    • Minimal dependencies, easy to run

🔧 Tech Stack

  • Python 3.11+
  • pandas, matplotlib, openpyxl
  • Structure is modular and guarded with __main__
  • Git-safe: raw and sensitive data are excluded with .gitignore

🗂️ Project Structure (Core files)

  • main.py – CLI entry point
  • scripts/npr_hashing.py – ID hashing logic
  • data_processing.py – data loading and preprocessing
  • metrics.py – symptom and triage statistics
  • plots.py – plotting logic
  • pages/ – CLI submenus (statistics + metadata)

📝 Notes

This is a complete MVP, built to match the scope of the course — but with some parts intentionally simplified.

Things I’d do next if I were continuing:

  • Migrate from Excel to SQLite or raw CSV
  • Rebuild the architecture around OOP and services
  • Add a proper test suite
  • Possibly a web UI (e.g. Streamlit or Flask)