merge_repeats: Function to merge main ODK form with repeats

Description Usage Arguments Value Examples

View source: R/02-merge_data.R

Description

Function to merge main ODK form with repeats

Usage

1
merge_repeats(x, rep.name)

Arguments

x

A list of data.frames produced by 'get_mcct_data' after retreiving data from ODK server.

rep.name

A character value specifying name of repeat form to merge with main form.

Value

A data.frame with rows equal to repeat data merged with main form

Examples

1
2
3
4
5
## Not run: 
hh <- merge_repeats(x = surveyData, rep.name = "support_gov_rep")
head(hh, 10)

## End(Not run)

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