xlsform_generate_samplingframe: create sampling frame from kobo tool

Description Usage Arguments Value

Description

create sampling frame from kobo tool

Usage

1
xlsform_generate_samplingframe(choices, strata_list_names)

Arguments

choices

the kobo questionnaire choices sheet as a data.frame

strata_list_names

the choice list_name column values of the variables that together uniquely define each stratum

Value

a data frame with two columns: "strata": the names of the strata; all unique combinations of the choices in each provided strata list name, concatenated by two underscores ("__") "population": randomly generated population for each stratum (lognormal distribution with meanlog 10 and sdlog 1)


mabafaba/xlsformfill documentation built on June 21, 2019, 10:45 p.m.