The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Dissemination and Capacity Strengthening » Application Programming Interface (API)  » API list of surveys with GPS datasets is incomplete (API list of surveys with GPS datasets is incomplete)
Re: API list of surveys with GPS datasets is incomplete [message #30441 is a reply to message #30413] Sat, 30 November 2024 20:25 Go to previous messageGo to previous message
DiegoBassani is currently offline  DiegoBassani
Messages: 6
Registered: July 2019
Member
Thanks Blake,

The call by surveyCharacteristicIds=26 still does not bring up the same list as the one by fileType=GE.

https://api.dhsprogram.com/rest/dhs/surveys?fileType=GE& surveyStatus=completed&surveytype=DHS&f=html (328 records)

https://api.dhsprogram.com/rest/dhs/surveys?surveyCharacteri sticIds=26&surveyStatus=completed&surveytype=DHS& ;f=html (198 records)

If I remove the survey status query, the numbers are still different, and smaller (not what I would expect with a less restrictive query).

https://api.dhsprogram.com/rest/dhs/surveys?fileType=GE& surveytype=DHS&f=html (313 records)

https://api.dhsprogram.com/rest/dhs/surveys?surveyCharacteri sticIds=26&surveytype=DHS&f=html (193 records)

Diego
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to web scrape data on python from the DHS program API
Next Topic: Relative standard errors and design effects across surveys
Goto Forum:
  


Current Time: Thu Jun 19 23:15:55 Coordinated Universal Time 2025