create_anc: Function to create raw ANC dataset

Description Usage Arguments Value Examples

View source: R/05-recode_anc.R

Description

Function to create raw ANC dataset

Usage

1
create_anc(df, x, y, status)

Arguments

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")

Value

A data.frame containing raw ANC data for the Myanmar MCCT Programme Evaluation Study

Examples

1
2
create_anc(df = anc1, x = hh, y = hhMembers, status = "current")
create_anc(df = anc2, x = hh, y = hhMembers, status = "past")

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