questions_into_blocks: Organize the Questions into their Survey Blocks

Description Usage Arguments Value

View source: R/reorganizing_survey_data.R

Description

This function takes a blocks list (create this with blocks_from_survey and then remove_trash_blocks), inserts the questions from a survey appropriately into the blocks element, and then returns the blocks list including the questions as elements in the blocks[[i]][['BlockElements']].

Usage

1
questions_into_blocks(questions, blocks)

Arguments

questions

A list of questions from a Qualtrics survey

blocks

A list of blocks from a Qualtrics survey

Value

a list of blocks including questions under blocks[[i]][['BlockElements']] for each index i.


ctesta01/qualtrics-R-package documentation built on May 14, 2019, 12:28 p.m.