create_block: Create a new block

Description Usage Arguments Value Examples

View source: R/survey-definitions-blocks.R

Description

To retrieve a specific survey block, you need to pass the survey id and the block id. The latter can be retrieved using the get_survey_flow function or the get_survey function.

Usage

1
create_block(survey_id, type = "Standard", description = "Block", ...)

Arguments

survey_id

the survey id

type

block type (Standard, Default or Trash)

description

block description

...

block options

Value

A list with the associated block id and flow id

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
create_block(
"SV_012345678901234", 
"Standard",
"New Block",
"BlockLocking": "false",
"RandomizeQuestions": "false",
"BlockVisibility": "Collapsed"
)

## End(Not run)

ppssphysics/QualtricsInR documentation built on Aug. 30, 2021, 8:12 a.m.