Query DHS APIFunctions for interacting with each of the DHS API endpoints. They all start ‘dhs_’ for simplicity. |
|
---|---|
API request of DHS Countries |
|
API request of DHS Indicator Data |
|
API request of DHS Data Updates |
|
API request of DHS Datasets |
|
API request of DHS Geometry |
|
API request of DHS Indicators |
|
API request of DHS Info |
|
API request of DHS Publications |
|
API request of DHS Survey Characteristics |
|
API request of DHS Surveys |
|
API request of DHS Tags |
|
API request of DHS UI Updates |
|
Set up DHS login credentials“Set our credentials for logging into the DHS website. This creates in the backend a rdhs client for downloading datasets, querying survey variables and extracting data.” |
|
Set rdhs config |
|
Get rdhs config |
|
Update your current rdhs config |
|
Make a dhs client |
|
User InterfaceFunctions to download, search and interact with downloaded datasets |
|
Extract Data |
|
Get Available Datasets |
|
Get Datasets |
|
Get Downloaded Datasets |
|
Search Survey Variables |
|
Search Survey Variable Definitions |
|
DHS Spatial Boundaries |
|
Downstream Dataset Helper FunctionsTools to help combine extracted datasets, as well as extract and apend dataset variable names and definitions |
|
Combine data frames with columns of class `labelled` |
|
Get Survey Variable Labels |
|
Create list of dataset and its variable names |
|
convert labelled data frame to data frame of just characters |
|
DHS Dataset ParsersCustom built parsers for handling flat ASCII and stata DHS datasets |
|
Read DHS flat file data set |
|
Parse fixed-width file metadata |
|
Read DHS Stata data set |