rdhs: API Client and Dataset Management for the Demographic and Health Survey (DHS) Data

Provides a client for (1) querying the DHS API for survey indicators and metadata (<https://api.dhsprogram.com/#/index.html>), (2) identifying surveys and datasets for analysis, (3) downloading survey datasets from the DHS website, (4) loading datasets and associate metadata into R, and (5) extracting variables and combining datasets for pooled analysis.

Version: 0.8.1
Depends: R (≥ 3.3.0)
Imports: brio, R6, httr, jsonlite, foreign, magrittr, rappdirs, digest, storr, xml2, qdapRegex, getPass, haven, iotools, sf, cli, rlang
Suggests: testthat, knitr, rmarkdown, ggplot2, survey, data.table, microbenchmark
Published: 2023-11-21
DOI: 10.32614/CRAN.package.rdhs
Author: OJ Watson ORCID iD [aut, cre], Jeff Eaton ORCID iD [aut], Lucy D'Agostino McGowan ORCID iD [rev], Duncan Gillespie [rev]
Maintainer: OJ Watson <oj.watson at hotmail.co.uk>
BugReports: https://github.com/ropensci/rdhs/issues
License: MIT + file LICENSE
URL: https://docs.ropensci.org/rdhs/
NeedsCompilation: no
Language: en-GB
Citation: rdhs citation info
Materials: README, NEWS
In views: OfficialStatistics
CRAN checks: rdhs results

Documentation:

Reference manual: rdhs.html , rdhs.pdf
Vignettes: Anemia prevalence among women: an 'rdhs' example (source)
Downloading shape files for DHS surveys (source)
Using the rdhs client (source)
Country Codes (source)
Interacting with geojson API results (source)
How to use rdhs? (source)
Testing (source)
Toolkit (source)

Downloads:

Package source: rdhs_0.8.1.tar.gz
Windows binaries: r-devel: rdhs_0.8.1.zip, r-release: rdhs_0.8.1.zip, r-oldrel: rdhs_0.8.1.zip
macOS binaries: r-release (arm64): rdhs_0.8.1.tgz, r-oldrel (arm64): rdhs_0.8.1.tgz, r-release (x86_64): rdhs_0.8.1.tgz, r-oldrel (x86_64): rdhs_0.8.1.tgz
Old sources: rdhs archive

Reverse dependencies:

Reverse imports: AgePopDenom, surveyPrev
Reverse suggests: malariaAtlas, SUMMER

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rdhs to link to this page.