This script checks the openaq-api in order to get the latest updates for openaq-fetch adapters, this will help to check which adapters have been still working correctly in which adapters may faling or needs updates in the node.js code.
git clone https://github.com/openaq/openaq-fetch-evaluation
SELECT sensor_nodes_id,site_name,source_name,city FROM sensor_nodes WHERE ismobile=False and source_name !='PurpleAir';
Save results as: data/adapters_id.csv
cd openaq-fetch-evaluation/
docker-compose build
docker-compose up
Outputs: data/adapters_update.csv
and data/adapters_outdate.csv
which can be used to the evaluations.