icos_download: Download an ICOS digital object

View source: R/icos_download.R

icos_downloadR Documentation

Download an ICOS digital object

Description

Download a digital object identified by a persistent identifier.

Usage

icos_download(dobj, path = tempdir(), internal = FALSE, verbose = TRUE)

Arguments

dobj

digital object identified by a persistent identifier (PID) URI

path

where to save the downloaded data (default = tempdir())

internal

read in data and return an internal data frame to the current workspace

verbose

verbose feeback on licensing, needs you to acknowledge the license agreement for a download - setting this to FALSE overrides this but by doing so you acknowledge the statement in bulk!

Value

a downloaded digital file on disk for further processing

Examples

## Not run: 
dobj <- "https://meta.icos-cp.eu/objects/lNJPHqvsMuTAh-3DOvJejgYc"
icos_download(dobj = dobj, verbose = FALSE)

## End(Not run)

bluegreen-labs/icoscp documentation built on Nov. 16, 2022, 4:06 p.m.