mdl_survey_attach_to_collections | R Documentation |
Used to modify the main collection and/or add the secondary collections. In case you only want to change the main collection it is recommended to use mdl_survey_options(), or you can try to set link_collections to the same value of enum_collection.
mdl_survey_attach_to_collections(
survey_idno,
enum_collection = NULL,
link_collections,
mode = "update"
)
survey_idno |
Dataset IDNo. |
enum_collection |
Main collection of the dataset (optional). It is recommended to use mdl_enum_collection. |
link_collections |
Array containing other secondary collections in which the dataset has to be shown (required). It is recommended to use mdl_enum_collection. |
mode |
Select flag to update or replace existing linked collections for the study: "replace" = replace linked collections for the study with the provided list; "update" = (Default) add/update linked collections list. |
API call response.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.