The survey can be copied within the same account or to another user account.
Default uses the user id returned by who_am_i
function. When a survey gets
copied it will appear in the 'Uncategorized' folder
copy_survey(survey_id, copy_name, user_id = NULL)
survey_id | the survey id |
---|---|
copy_name | the name of the survey copy |
user_id | if provided, copies the survey to another account |
The id of the copied survey
if (FALSE) copy_survey("SV_012345678901234", "survey_copy") if (FALSE) copy_survey("SV_012345678901234", "survey_copy", "UR_012345678912345")