unicef / magicbox-open-api

An API to serve open data aggregated by administrative boundaries
http://magicboxopenapi.azurewebsites.net/docs
BSD 3-Clause "New" or "Revised" License
25 stars 9 forks source link

Add endpoint: mobility/countries (workshop example) #51

Closed mikefab closed 6 years ago

mikefab commented 6 years ago

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. screen shot 2018-05-30 at 4 13 02 pm

More background

https://medium.com/@mikefabrikant/unicef-challenge-iii-store-mobility-in-a-database-6d8b0cd46c34

thoat commented 6 years ago

NOTE: this issue was used for a workshop demonstration. Not a real issue here. The actual issue (with corresponding commit history) is #47.