The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Dissemination and Capacity Strengthening » Application Programming Interface (API)  » Source of contraception by method
Re: Source of contraception by method [message #24308 is a reply to message #24298] Fri, 15 April 2022 16:31 Go to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 774
Registered: January 2013
Senior Member
Yes, here are a couple of calls to the API that will return the source by method. There are a lot of separate indicators for the source, so the list gets long and browsers don't like calls of over 250 characters, so I have split the calls into a couple of different calls:

For public sources:,FP_SR CM_W_GHS,FP_SRCM_W_GHC,FP_SRCM_W_GFP,FP_SRCM_W_GMB,FP_SRCM_W _GFW,FP_SRCM_W_GOT?f=html&breakdown=all

The breakdown=all parameter for these indicators breaks the data down by method.
Read Message
Read Message
Previous Topic: Generate percent of respondents by background characteristics
Next Topic: Maternal and child health indicators by background characteristics
Goto Forum:

Current Time: Fri Sep 30 09:28:13 Coordinated Universal Time 2022