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.
generate_block_id(survey_id)
survey_id | the survey id |
---|
A string of the form BL_FakeBlockID1234
if (FALSE) { generate_block_id( "SV_012345678901234", ) }