adding_looped_data: Adding Looped Data

View source: R/GenerateMockResponses.R

adding_looped_dataR Documentation

Adding Looped Data

Description

Some of the survey questions in ODK central are asked in a repeat format. This function allows us to carry out these repeats for a random number of loops (capped at 5)

Usage

adding_looped_data(survey, choices, rows)

Arguments

survey

The survey table as a tibble

choices

The choices table as a tibble

rows

The rows in the survey table which correspond to the looped questions

Details

Rpackage file: GenerateMockResponses.R


l-gorman/rhomis-R-package documentation built on Nov. 8, 2023, 6:46 a.m.