create_entry | R Documentation |
Create entry in catalog
create_entry(
type,
idno,
metadata,
repositoryid = NULL,
access_policy = NULL,
data_remote_url = NULL,
published = 0,
overwrite = "no",
thumbnail = NULL,
api_key = NULL,
api_base_url = NULL
)
type |
(required) Entry type - "document", "script", "table", |
idno |
(required) Study unique identifier |
metadata |
(required) Metadata list depending on the type of study |
repositoryid |
Collection ID that owns the entry |
access_policy |
Select the access policy suitable for your data. Valid values - "open", "direct", "public", "licensed", "enclave", "remote", "other" |
data_remote_url |
Link to the website where the data is available. Required if access_policy is set to 'remote'. |
published |
Set status for entry - 0 = Draft, 1 = Published |
overwrite |
Overwrite if a entry with the same ID already exists? Valid values "yes", "no" |
api_key |
(optoinal) API key |
api_base_url |
(optional) API URL |
result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.