Description Usage Arguments Value
View source: R/helper_functions.R
Since the blocks list is used to transport some additional information beyond the contents of the survey questions, this function is here to help in counting how many valid question blocks there are. Any real question blocks will be enumerated (aka numbered) in R, as opposed to the content that's been added which will be named (with a string). This means that when looking at the names of the blocks list, the integer values or the values which have no name are the question blocks, and the values which have names are the information added by the QualtricsTools functions. This function counts up the former.
1 | number_of_blocks(blocks)
|
blocks |
A list of blocks |
the number of question blocks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.