import_ddi: ImportDDI

View source: R/datasets.R

import_ddiR Documentation

ImportDDI

Description

Import a DDI file

Usage

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
)

Arguments

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


mah0001/nadar documentation built on March 30, 2024, 2:44 a.m.