if (FALSE) {
# The main use for the info API will be to confirm the version of the API
# being used to providing the most current citation for the data.
dat <- dhs_info(infoType="version")
# A complete list of examples for how each argument to the info API
# endpoint can be provided is given below, which is a copy of each of
# the examples listed in the API at:
# https://api.dhsprogram.com/#/api-info.cfm
dat <- dhs_info(infoType="version",all_results=FALSE)
dat <- dhs_info(infoType="citation",all_results=FALSE)
dat <- dhs_info(f="html",all_results=FALSE)
}
Run the code above in your browser using DataLab