recode_nbc: Function to recode newborn care indicators for the Myanmar...

Description Usage Arguments Value Examples

View source: R/18-recode_nbc.R

Description

Function to recode newborn care indicators for the Myanmar MCCT Programme Evaluation survey

Usage

1
2
3
4
recode_nbc(
  df,
  core.columns = c("KEY", "geo_rural", "geo_state", "geo_villward", "sample_component")
)

Arguments

df

A data.frame collected for the Myanmar MCCT Programme Evaluation Study containing newborn care data

core.columns

A vector of variable names to include in resulting data.frame

Value

A data.frame of recoded newborn care indicators

Examples

1
2
3
## Recode newborn care indicators
x <- create_anc(df = anc2, x = hh, y = hhMembers, status = "past")
recode_nbc(df = x)

validmeasures/myanmarMCCTdata documentation built on March 29, 2020, 10:27 p.m.