Open atdservicebot opened 3 years ago
@dianamartin has a prototype going for this.
This may not be a 5 — depends on how far Joshil's existing code can get us. Once this is configured will need to put it on Airflow, etc.
Spoke with Joshil — He actually thought that you were working on it, @dianamartin, but I told him it's going to involve dev resources and would need to go on the next AMD agenda for prioritization.
He's going to send his Python code so that we can size this.
@amenity I told him I'd try to get a solution for them and see if I could
From Joshil: Here is my code. The way I combine primary and secondary signal detector data is in lines 130-164. Below is the basic method I use to do this:
Per @johnclary in Slack:
for an ad-hoc script like this, it would typically involve:
these one-off Data Tracker tasks have historically lived in atd-data-publishing, but the goal is to deprecate that repository by migrating them to atd-knack-services or purpose-built repos (e.g. our finance data integration or KITS integration).the migration adds a bit overhead to a request like this, because we need to think through which repo the code will live in and possibly establish new design patterns. we've established the new patterns for ETLs to Socrata and AGOL, but not for one-off tasks like this one.TMI but that's why i'd estimate this as an 8
Brian is currently using the numbers Joshil puts together to check the Data Tracker reports. Won't completely solve detection reporting needs; other sources' numbers are also off.
Diana's report is working for now, but getting more of a logging capability in addition to current status.
Data Tracker
New reporting feature
Combine detector statuses for primary and secondary. A new column would have to be made for the reporting feature (e.g. "cabinet_detection_status") that merges all detector status. This would be seen in the "Signals Detector Report"
My own python code pulling from the open data portal.
Attachment (85.22kb)
Request ID: DTS21-101965