Accessing DHS data using API. [message #2772] |
Fri, 22 August 2014 06:26 |
adiallo5
Messages: 1 Registered: March 2013 Location: Tunis
|
Member |
|
|
Hi,
I am trying the stata code example shown in the following link ( http://api.dhsprogram.com/?utm_content=buffer57c2d&utm_m edium=social&utm_source=twitter.com&utm_campaign=buf fer#/samples-stata.html).
However, when trying this, Stata responds:
. * Call the API and get just the variables of interest
. insheetjson surveyid value using "http://api.dhsprogram.com/rest/dhs/data/20171000,KE.j
> son", table(data) col(SurveyId Value)
Unable to find data. Bad result selector 'data'?
Empty result returned; Nothing to do.
My question is:
- how to get the data values or references - I don't know if this phrased correctly - (in this case, "20171000,KE").
- is there a link or table somewhere with the list of countries, data, indicators, etc., and their reference?
I hope this is clear enough.
Best regards.
Amadou-
|
|
|
|
|