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)
API list of surveys with GPS datasets is incomplete [message #30411] Mon, 25 November 2024 10:03 Go to previous message
DiegoBassani is currently offline  DiegoBassani
Messages: 6
Registered: July 2019
Member
Hi, I noticed the following API request:

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

Excludes some surveys that have GPS datasets (surveyCharacteristicIds=26), for example, Cambodia 2021, Jordan 2017, Mali 2018, Nigeria 2018, Philippines 2017 and Tajikistan 2017 all have GPS datasets, but do not show up in this API call because code 26 is not in their "surveyCharacteristicIds" column.

they do show as available in the datasets query, although not clear how to filter the API call. https://api.dhsprogram.com/rest/dhs/datasets?DatasetType=GPS Datasets&f=html


1887 KHGC81FL.ZIP Cambodia 2021 2021-22 DHS KH 558 KH2021DHS GPS Datasets Geospatial Covariates Flat ASCII data (.dat) 846214 2023-02-20 15:31:12.0
1888 KHGE81FL.ZIP Cambodia 2021 2021-22 DHS KH 558 KH2021DHS GPS Datasets Geographic Data Flat ASCII data (.dat) 76915 2023-02-20 08:24:32.0


Thanks

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 Dec 12 11:28:57 Coordinated Universal Time 2024