Description Usage Arguments Value Examples
View source: R/05-recode_anc.R
Function to recode the personnel type providing antenatal care services for the Myanmar MCCT Programme Evaluation survey
1 | recode_anc_provider(df, status = NULL)
|
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") |
A data.frame of recoded antenatal care providers visited for antenatal care
1 2 3 4 5 6 7 | ## Recode anc provider for currently pregnant women
x <- create_anc(df = anc1, x = hh, y = hhMembers, status = "current")
recode_anc_provider(df = x, status = "current")
## Recode anc provider for non-pregnant women
x <- create_anc(df = anc2, x = hh, y = hhMembers, status = "past")
recode_anc_provider(df = x, status = "past")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.