F1000Research, Wellcome Open Research, (4), p. 103, 2019
DOI: 10.12688/wellcomeopenres.15311.1
Full text: Download
Since 1985, the Demographic and Health Surveys (DHS) Program has conducted more than 400 surveys in over 90 countries. These surveys provide decision markers with key measures of population demographics, health and nutrition, which allow informed policy evaluation to be made. Though standard health indicators are routinely published in survey final reports, much of the value of DHS is derived from the ability to download and analyse standardised microdata datasets for subgroup analysis, pooled multi-country analysis, and extended research studies. We have developed an open-source freely available R package ‘rdhs’ to facilitate management and processing of DHS survey data. The package provides a suite of tools to (1) access standard survey indicators through the DHS Program API, (2) identify all survey datasets that include a particular topic or indicator relevant to a particular analysis, (3) directly download survey datasets from the DHS website, (4) load datasets and data dictionaries into R, and (5) extract variables and pool harmonised datasets for multi-survey analysis. We detail the core functionality of ‘rdhs’ by demonstrating how the package can be used to firstly compare trends in the prevalence of anaemia among women between countries before conducting secondary analysis to assess for the relationship between education and anemia.