geospatial_import: Import geospatial xml file

View source: R/geospatial.R

geospatial_importR Documentation

Import geospatial xml file

Description

Import geospatial xml (ISO19139)

Usage

geospatial_import(
  file_uri,
  repositoryid = NULL,
  access_policy = NULL,
  data_remote_url = NULL,
  published = 0,
  overwrite = "no",
  api_key = NULL,
  api_base_url = NULL
)

Arguments

repositoryid

Collection ID that owns the study

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

overwrite

Overwrite if a study with the same ID already exists? Valid values "yes", "no"

file

(required) File or URL of ISO19139 XML file

Examples



geospatial_import (
  published = 1,
  overwrite = "yes",
  file = "http://example.com/file/file-iso13913.xml",
)





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