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


[Up] [Top]

Documentation for package ‘rdhs’ version 0.8.1

Help Pages

rdhs-package 'rdhs' DHS database through R
as_factor.labelled Archived dataset capable as_factor
authenticate_dhs DHS Website Authentication
available_datasets Create a data frame of datasets that your log in can download
client_cache_date Pull last cache date
client_dhs Make a dhs client
collapse_api_responses collapse API response list
data_and_labels Create list of dataset and its variable names
delabel_df convert labelled data frame to data frame of just characters
dhs_countries API request of DHS Countries
dhs_data API request of DHS Indicator Data
dhs_datasets API request of DHS Datasets
dhs_data_updates API request of DHS Data Updates
dhs_geometry API request of DHS Geometry
dhs_gps_data_format DHS GPS Data Format
dhs_indicators API request of DHS Indicators
dhs_info API request of DHS Info
dhs_publications API request of DHS Publications
dhs_surveys API request of DHS Surveys
dhs_survey_characteristics API request of DHS Survey Characteristics
dhs_tags API request of DHS Tags
dhs_ui_updates API request of DHS UI Updates
download_boundaries DHS Spatial Boundaries
download_datasets Create a data frame of datasets that your log in can download
extraction DHS survey questions extracted from datasets
extract_dhs Extract Data
factor_format reformat haven and labelled read ins to have no factors or labels
file_dataset_format Returns what the dataset file ending should be for a given filename
get_available_datasets Get Available Datasets
get_datasets Get Datasets
get_downloaded_datasets Get Downloaded Datasets
get_labels_from_dataset Return variable labels from a dataset
get_rdhs_config Get rdhs config
get_variable_labels Get Survey Variable Labels
last_api_update Pull last DHS API database update time
model_datasets DHS model datasets
parse_dcf Parse fixed-width file metadata
parse_do Parse fixed-width file metadata
parse_map Create dictionary from DHS .MAP codebook
parse_meta Parse fixed-width file metadata
parse_sps Parse fixed-width file metadata
rbind_labelled Combine data frames with columns of class 'labelled'
rbind_list_base implementation of data.tables rbindlist
rdhs 'rdhs' DHS database through R
read_dhs_dataset read in dhs standard file types
read_dhs_dta Read DHS Stata data set
read_dhs_flat Read DHS flat file data set
read_zipdata Read filetype from a zipped folder based on the file ending
response_is_json checks if the response is json or not by looking at the responses headers
response_to_json converts response to json by first converting the response to text
search_variables Search Survey Variables
search_variable_labels Search Survey Variable Definitions
set_rdhs_config Set rdhs config
unzip_special unzip special that catches for 4GB+
update_rdhs_config Update your current rdhs config