This sets up for next step to aggregate across regions
The CalculateKPIS class now accepts a list of pz_codes rather than just one, and this will allow us to pass in a list of PDUs within a region and retrieve a summary of the kpis across them all.
It also creates a new page called dashboard which has a table of the KPIs for the selected PDU, and in future will have further levels of abstraction. This reloads on changes in the view_progress
Overview
This sets up for next step to aggregate across regions The
CalculateKPIS
class now accepts a list of pz_codes rather than just one, and this will allow us to pass in a list of PDUs within a region and retrieve a summary of the kpis across them all.It also creates a new page called
dashboard
which has a table of the KPIs for the selected PDU, and in future will have further levels of abstraction. This reloads on changes in theview_progress