This package parses most of the output from the DHS API. Overall, these are helper functions to load in data about indicators and codebooks for the DHS data sets.
In R
:
if (!("devtools" %in% installed.packages)){ install.packages("devtools") } devtools::install_github("muschellij2/dhs")
After installation, you can load the library and get the list of countries/surveys from DHS:
library(dhs) head(dhs_countries()) head(dhs_surveys())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.