Should return an array of objects like:
{ country: 'col', provider: 'acme', series: 'santiblanko' }
How to do it
Add endpoint /v1/mobility/countries to ./api/swagger/swagger.yml
Traverse directory structure in ./public/mobility
Background
Providers of mobility data for whole countries drop CSV files into an sftp server. UNICEF syncs with these servers, aggregates the data by various shapefiles, and stores in the directory structure below.
Task
Add end point:
/mobility/countries
Should return an array of objects like:
{ country: 'col', provider: 'acme', series: 'santiblanko'
}How to do it
Background
Providers of mobility data for whole countries drop CSV files into an sftp server. UNICEF syncs with these servers, aggregates the data by various shapefiles, and stores in the directory structure below.
More background
https://medium.com/@mikefabrikant/unicef-challenge-iii-store-mobility-in-a-database-6d8b0cd46c34