Description Usage Arguments Value Examples
View source: R/05-recode_anc.R
Function to create raw ANC dataset
1 | create_anc(df, x, y, status)
|
df |
A data.frame collected for the Myanmar MCCT Programme Evaluation Study containing ANC data |
x |
A data.frame collected for the Myanmar MCCT Programme Evaluation Study containing household information that will be linked to the ANC data |
y |
A data.frame collected for the Myanmar MCCT Programme Evaluation Study containing household roster information that will be linked to the ANC data |
status |
A character value indicating whether to create data of currently pregnant women ("current") or previously pregnant women ("past") |
A data.frame containing raw ANC data for the Myanmar MCCT Programme Evaluation Study
1 2 | create_anc(df = anc1, x = hh, y = hhMembers, status = "current")
create_anc(df = anc2, x = hh, y = hhMembers, status = "past")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.