thegraphnetwork / epigraphhub_py

Epigraphhub Python package
GNU General Public License v3.0
2 stars 9 forks source link

Godata fetch script #150

Closed fccoelho closed 1 year ago

fccoelho commented 2 years ago

🚀 Feature Request

We need a script to capture data from a GODATA server

I think we can adapt this example here: https://github.com/WorldHealthOrganization/godata/blob/master/api/godata_export_cases_to_gsheets_v1.0.py

dcpcamara commented 2 years ago

Do we have a dummy server to test the connection? I understand that this issue is in the Python library, but the godata team made an easy to use R package ( https://github.com/WorldHealthOrganization/godataR). We could make a wrapper function to download all data, for instance, instead of downloading data individually as in the R package.

Em ter., 15 de mar. de 2022 às 04:57, Flávio Codeço Coelho < @.***> escreveu:

🚀 Feature Request

We need a script to capture data from a GODATA server

I think we can adapt this example here:

https://github.com/WorldHealthOrganization/godata/blob/master/api/godata_export_cases_to_gsheets_v1.0.py

— Reply to this email directly, view it on GitHub https://github.com/thegraphnetwork/epigraphhub_py/issues/150, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFK4W5ES6AOYJ4RGSONV45DVAA7HJANCNFSM5QX26HQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

--


Daniel C. P. Câmara, PhD. *Lathema & Nosmove -* FIOCRUZ Incident Management Support Team - WHO AFRO

The GRAPH Network - UNIGE Rio de Janeiro, Brasil

fccoelho commented 2 years ago

We don't have such a server. I f you find one @dcpcamara let us know. We can start with the GOdataR package, but we can also create an equivalent Python client library to put ourselves in the limelight, for system integrators that may need it.

dcpcamara commented 2 years ago

I've found a demo dashboard at https://datastudio.google.com/embed/u/0/reporting/1c222121-4e78-478a-8b07-cfe2c45db570/page/Z1ziB and also we could try ask WHO for access to the demo instance that they have at https://community-godata.who.int/page/demonstration

dcpcamara commented 2 years ago

And from what I've been learning from APIs, it shouldn't be such a brutal job creating a Python library! Maybe taking a look at how they did in the R package can help taking some ideas. It is very similar to what I'm doing with the DHIS2 functions for the R package.

eduardocorrearaujo commented 2 years ago

@fccoelho, @dcpcamara if I understand right it's necessary to have an account to get these data, right? There is some account for the epigraphhub? Or can I create an account for myself and use these to start our work?

github-actions[bot] commented 1 year ago

Stale issue message

github-actions[bot] commented 1 year ago

Stale issue message