visualizing covid workload in dash

At the start of a shift for a nursery home organisation you’re the first contact for nurses. in these cases it’s often not totally clear what has happened in the different departments within the last few days: How many calls were there related to COVID in recent days? How many patients are in isolation? How many patients are in palliative care? Is there an increase or decrease in the numbers?

Beneath is a Python script for analysing the covid workload during the last week in a nursery home. There are notes within the script to clarify the different steps.

 

 

Some steps are somewhat cumbersome and can be condensed but it was a good exercise to go through it step by step without dense code. When you plot the data in a Dash graph you get the following graph:

covid workload