recode_birth: Function to recode the birth/delivery indicators for the...

Description Usage Arguments Value Examples

View source: R/14-recode_delivery.R

Description

Function to recode the birth/delivery indicators for the Myanmar MCCT Programme Evaluation survey

Usage

1
2
3
4
recode_birth(
  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 birth/delivery data

core.columns

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

Value

A data.frame of recoded birth/delivery indicators

Examples

1
2
3
## Recode birth/delivery indicators
x <- create_anc(df = anc2, x = hh, y = hhMembers, status = "past")
recode_birth(df = x)

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