Learn R Programming

surveyPrev (version 1.0.0)

ch_diar_ors_rhf: CH_DIAT_C_ORT KR Diarrhea treatment (Children under five with diarrhea treated with either ORS or RHF)

Description

CH_DIAT_C_ORT KR Diarrhea treatment (Children under five with diarrhea treated with either ORS or RHF)

Usage

ch_diar_ors_rhf(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 = "CH_DIAT_C_ORT",
                                 year = 2018)
data <- getDHSindicator(dhsData, indicator = NULL,
                         FUN = surveyPrev::ch_diar_ors_rhf)
}

Run the code above in your browser using DataLab