At the start of a shift for a nursery home organisation, you are the first contact for nurses. It’s often not clear what has happened in the different departments within the last few days. How many calls were related to COVID? How many patients are in isolation? How many patients are in palliative care? How have these numbers changed in recent days?
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 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:
This is the code: