mdl_survey_options | R Documentation |
Can set various survey options with a PUT call. If you want to set linked/secondary collections, it is recommended to use mdl_survey_attach_to_collections().
mdl_survey_options(
survey_idno,
enum_survey_access_policy = NULL,
data_remote_url = NULL,
published = NULL,
enum_collection = NULL,
linked_collections = NULL,
tags = NULL,
aliases = NULL,
link_study = NULL,
link_indicator = NULL
)
survey_idno |
Dataset IDNo. |
enum_survey_access_policy |
Access policy. It is recommended to use mdl_enum_survey_access_policy. |
data_remote_url |
Url to data in case access policiy was set to Data available from external repository ("remote") |
published |
Set Dataset publish status. 0=draft, 1=published. |
enum_collection |
Main collection of the dataset. It is recommended to use mdl_enum_collection. |
linked_collections |
Array containing other secondary collections in which the dataset has to be shown. |
tags |
Array of string tags. |
aliases |
Array of strings with dataset aliases |
link_study |
URL for study website |
link_indicator |
URL to the indicators website |
API call response.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.