import_ddi | R Documentation |
Import a DDI file
import_ddi(
api_key = NULL,
api_base_url = NULL,
xml_file = NULL,
rdf_file = NULL,
repositoryid = NULL,
overwrite = "no",
access_policy = NULL,
data_remote_url = NULL,
published = NULL
)
api_key |
API key (optional if API key is set using set_api_key) |
api_base_url |
API base endpoint (optional if API base endpoint is set using set_api_url) |
xml_file |
(Required) DDI/XML file path |
rdf_file |
RDF file path |
repositoryid |
Collection ID that owns the study |
overwrite |
Overwrite if a study with the same ID already exists? Valid values "yes", "no" |
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 study - 0 = Draft, 1 = Published |
verbose |
Show verbose output - True, False |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.