Description Usage Arguments Value Examples
View source: R/survey-definitions-blocks.R
When updating a block (update_block) or creating a new block (create_block), it can be convenient to control the creation of the block id locally. This convenience function returns a block id that is unique and does not overlap with existing block ids in the survey.
1 | generate_block_id(survey_id)
|
survey_id |
the survey id |
A string of the form BL_FakeBlockID1234
1 2 3 4 5 6 | ## Not run:
generate_block_id(
"SV_012345678901234",
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.