AlexLipp / POOPy

Object Oriented Python package for interfacing with English Water Companies EDM data
GNU General Public License v3.0
7 stars 1 forks source link

Adds experimental method for automatically building history of alerts by repeatedly querying current status API #27

Closed AlexLipp closed 4 weeks ago

AlexLipp commented 4 weeks ago

Most water companies will not provide access to historical CSO spills. However, for many reasons this information may be helpful.

This merge adds in a function that creates and updates (if called regularly) a table of "alerts" corresponding to changes in 'current' status. From these historical alerts, and assuming that the table is updated regularly a history of spilling can therefore be created.