recode_provider_tba: Function to recode the traditional birth attendant ANC...

Description Usage Arguments Value Examples

View source: R/05-recode_anc.R

Description

Function to recode the traditional birth attendant ANC provider data for the Myanmar MCCT Programme Evaluation survey

Usage

1

Arguments

df

A data.frame collected for the Myanmar MCCT Programme Evaluation Study containing antenatal care data for currently pregnant women

status

A character value indicating whether to recode data of currently pregnant women ("current") or previously pregnant women ("past")

Value

A data.frame of recoded traditional birth attendant ANC provider information

Examples

1
2
3
4
5
6
7
## Recode tba provider for currently pregnant women
x <- create_anc(df = anc1, x = hh, y = hhMembers, status = "current")
recode_provider_tba(df = x, status = "current")

## Recode tba provider for non-pregnant women
x <- create_anc(df = anc2, x = hh, y = hhMembers, status = "past")
recode_provider_tba(df = x, status = "past")

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