Learn R Programming

surveyPrev (version 1.0.0)

ph_sani_improve: WS_TLET_H_IMP Percentage of households using an improved sanitation facility PH_SANI.do PR ph_sani_improve "Access to improved sanitation" country-specific

Description

WS_TLET_H_IMP Percentage of households using an improved sanitation facility PH_SANI.do PR ph_sani_improve "Access to improved sanitation" country-specific

Usage

ph_sani_improve(Rdata)

Value

A partially processed data.frame that will be used in survryPrev::getDHSindicator. The whole function can be used as a parameter in survryPrev::getDHSindicator

Arguments

Rdata

data.frame from survryPrev::getDHSdata

Author

Qianyu Dong

Examples

Run this code
if (FALSE) {
dhsData <- getDHSdata(country = "Zambia",
                                 indicator = "WS_TLET_H_IMP",
                                 year = 2018)
data <- getDHSindicator(dhsData, indicator = NULL,
                         FUN = surveyPrev::ph_sani_improve)
}

Run the code above in your browser using DataLab