Comments (7)
Thanks for filing this issue. However, it appears that 2014 data is not in the API. E.g.:
returns
"No data was found for the request version/1/indicator_id/137506/country_code/DEU/year/2014".
Indeed, no 2014 data is available (warning, big file):
http://ec2-52-1-168-42.compute-1.amazonaws.com/version/1
Investigating this further, it appears that the UNDP HDR is no longer supporting the API:
http://hdr.undp.org/en/data/api # returns 404 error
I will contact the UNDP to see if they can clarify the issue further.
from hdr.
EP vas escriure el dia dg, 22 mai 2016:
I will contact the UNDP to see if they can clarify the issue further.
Perfect. Thank you. Please, keep it posted here.
- Xavier -
from hdr.
Dear @expersso , any news regarding the contact with UNDP about the API?
from hdr.
I'm afraid not. I wrote them directly after you filed the issue, even inviting them to respond here directly. However, I never received any answer, and it appears that the API is long gone. So I'm contemplating simply deprecating this package. If you have any alternative suggestions, I'd be happy to consider them.
from hdr.
I think that having a package that facilitates your life for getting the HDI indicators is a "must have" in R. I really believe there is value in it.
However, if the API is gone, maybe you can consider another alternative to provide the same result: download the data on-the-fly and present it in R.
The psData package, for instance, does this with data of the Polity IV project and I think it would be a good alternative: https://cran.r-project.org/web/packages/psData/README.html
from hdr.
I looked into this a bit, and there appears to be three avenues forward:
- Use Selenium to essentially scrape , i.e. specify one series, download that CSV, parse it and load into R.
- Try to get the data out of Google Public Data. I'm not sure if there is an R package that interfaces with that already.
- Wait for the UN Data API to add UNDP to its Organizations.
None of these alternatives is very attractive though.
from hdr.
I don't know much about 1. 3 means that you have to rely on someone else and wait.
So right now I would do 2, as https://github.com/gvegayon/googlePublicData is a package that allows to use Google Public Data.
from hdr.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdr.