SplitFormQuestions: 'SplitFormQuestions'

View source: R/splitformquestions.R

SplitFormQuestionsR Documentation

SplitFormQuestions

Description

Converts a list input from Q/Displayr dropbox controls which could contain variables and questions/variable sets and converts it to a dataframe.

Usage

SplitFormQuestions(form.data, show.labels = TRUE, include.grid.flag = FALSE)

Arguments

form.data

The list from Q/Displayr dropbox controls containing variables and questions/variable sets.

show.labels

Whether to name variables in the data frame using the variable labels in Q/Displayr, otherwise the variable name is used (the variable name cannot be extracted from a question/variable set, and a warning is shown).

include.grid.flag

Whether to return a flag indicating which variables come from Pick Any - Grid or Number - Grid questions.


Displayr/flipData documentation built on March 2, 2024, 3:49 a.m.