Closed aleksa-krolls closed 3 years ago
@taylordowns2000 fyi, please add to your Zenhub Repo List.
@chaiwa-berian Please let @daissatou and me know when this is done so that we can review the JSON output and consider how to map this health sites data to Go.Data.
@chaiwa-berian A couple of questions...
configuration
details/login credentials with me via Slack so that I can test locally? Locations
(which have a Name
, Type
, and Geolocation
)... but in this Message it looks like it will be hard to map facility geolocation (so therefore I might choose to use #2 as my state).
Background, context, and business value
We watch to fetch health facility data from healthsites.io and load into this OpenFn project (to then later map & upload to Go.Data). Go.Data users are primary epidemiologists and outbreak responders who would benefit from health facility lists & data to better understand available resources and conduct disease surveillance.
Read this for more about available Senegal data. Go.Data users are primarily epidemiologist (so see those user stories for a better idea of what data we want to extract). Learn more about Go.Data: https://www.who.int/godata
The specific request, in as few words as possible
Job to... (1) GET health sites data via the API, and (2) post to OpenFn inbox.
Please pull available site data for Senegal.
state.json
Healthsites API docs (please create a new OSM account for OpenFn and share the login details via LastPass): https://github.com/healthsites/healthsites/wiki/API
adaptor
language-http
expression.js
New job
getHealthSites.js
output.json
Post data as new Message to OpenFn project inbox (so we can later map to Go.Data): https://www.openfn.org/projects/3037/messages