Package: rdhs 0.8.4
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.
Authors:
rdhs_0.8.4.tar.gz
rdhs_0.8.4.zip(r-4.6)rdhs_0.8.4.zip(r-4.5)rdhs_0.8.4.zip(r-4.4)
rdhs_0.8.4.tgz(r-4.6-any)rdhs_0.8.4.tgz(r-4.5-any)
rdhs_0.8.4.tar.gz(r-4.6-any)rdhs_0.8.4.tar.gz(r-4.5-any)
rdhs_0.8.4.tgz(r-4.5-emscripten)
rdhs.pdf |rdhs.html✨
rdhs/json (API)
NEWS
| # Install 'rdhs' in R: |
| install.packages('rdhs', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org')) |
Reviews:rOpenSci Software Review #238
Bug tracker:https://github.com/ropensci/rdhs/issues
Pkgdown/docs site:https://docs.ropensci.org
- dhs_gps_data_format - DHS GPS Data Format
- model_datasets - DHS model datasets
datasetdhsdhs-apiextractpeer-reviewedsurvey-data
Last updated from:a1e1b864c5 (on main). Checks:10 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 167 | ||
| pkgdown docs | OK | 202 | ||
| source / vignettes | OK | 226 | ||
| linux-release-x86_64 | OK | 156 | ||
| macos-devel-arm64 | OK | 120 | ||
| macos-release-arm64 | OK | 93 | ||
| windows-devel | OK | 99 | ||
| windows-release | OK | 95 | ||
| windows-oldrel | OK | 124 | ||
| wasm-release | OK | 139 |
Exports:%>%as_factor.labelledclient_dhsdata_and_labelsdelabel_dfdhs_countriesdhs_datadhs_data_updatesdhs_datasetsdhs_geometrydhs_indicatorsdhs_infodhs_publicationsdhs_survey_characteristicsdhs_surveysdhs_tagsdhs_ui_updatesdownload_boundariesextract_dhsget_available_datasetsget_datasetsget_downloaded_datasetsget_rdhs_configget_variable_labelsrbind_labelledread_dhs_dtaread_zipdatasearch_variable_labelssearch_variablesset_rdhs_configupdate_rdhs_config
Dependencies:askpassbitbit64brioclassclassIntclicliprcpp11crayoncurlDBIdigeste1071forcatsforeigngetPassgluehavenhmshttriotoolsjsonliteKernSmoothlifecyclemagrittrMASSmimeopensslpillarpkgconfigprettyunitsprogressproxyqdapRegexR6rappdirsRcppreadrrlangrstudioapis2sfstorrstringisystibbletidyselecttzdbunitsutf8vctrsvroomwithrwkxml2
Anemia prevalence: an rdhs example
Rendered fromanemia.Rmdusingknitr::rmarkdownon Mar 16 2026.Last update: 2023-10-10
Started: 2018-04-11
Country Names and Codes
Rendered fromcountry_codes.Rmdusingknitr::rmarkdownon Mar 16 2026.Last update: 2018-11-12
Started: 2018-11-12
Downloading Shape Files for DHS Surveys
Rendered fromboundaries.Rmdusingknitr::rmarkdownon Mar 16 2026.Last update: 2023-10-10
Started: 2020-03-20
How to use rdhs?
Rendered fromintroduction.Rmdusingknitr::rmarkdownon Mar 16 2026.Last update: 2023-10-10
Started: 2018-04-11
Interacting with geojson API returns
Rendered fromgeojson.Rmdusingknitr::rmarkdownon Mar 16 2026.Last update: 2018-09-28
Started: 2018-09-28
Running test suite locally
Rendered fromtesting.Rmdusingknitr::rmarkdownon Mar 16 2026.Last update: 2019-01-24
Started: 2018-07-27
Toolkit
Rendered fromtoolkit.Rmdusingknitr::rmarkdownon Mar 16 2026.Last update: 2021-04-28
Started: 2018-04-18
rdhs client object and internal package design
Rendered fromclient.Rmdusingknitr::rmarkdownon Mar 16 2026.Last update: 2023-10-10
Started: 2018-04-23
