DrMattG / SDGsR

R package for interacting with the UN Sustainable Development Goals
https://drmattg.github.io/SDGsR/
GNU General Public License v3.0
7 stars 7 forks source link

add other/newer UNstat API #6

Open Edouard-Legoupil opened 1 year ago

Edouard-Legoupil commented 1 year ago

Hello -

Useful package ! Thank for the great work-

I saw that you are using here https://github.com/DrMattG/SDGsR/blob/main/R/get_indicator.R#L11 the V1 of the API - https://unstats.un.org/SDGAPI/swagger

I t looks there's another newer API there - https://unstats.un.org/sdgs/UNSDGAPIV5/swagger - Would be great if the package could leverage it!

and maybe as well bringing the population one together - - https://population.un.org/dataportalapi/index.html -

DrMattG commented 1 year ago

I will have a look at doing that as soon as possible. Thanks!

Edouard-Legoupil commented 1 year ago

Maybe adding this reference as well - https://population.un.org/dataportal/about/dataapi - all the examples are in python! So maybe a good set of example to be nicely replicated in R with your package!

ramiromagno commented 9 months ago

Any update?

DrMattG commented 9 months ago

Hi @ramiromagno - Yes! We are working on this now - tests undergoing with some of the current functions and a few more to check before we get a new version of the package.

Edouard-Legoupil commented 8 months ago

@DrMattG Thanks! ready to test when you are!