dataone (version 2.2.1)

getD1Object: Download a data object from the DataONE Federation.

Description

An object is download from the DataONE network for the identifier that is provided.

Usage

getD1Object(x, identifier, ...)

# S4 method for D1Client getD1Object(x, identifier)

Arguments

x

A D1Client instance

identifier

The identifier of the object to download from DataONE

...

(not yet used)

Value

A datapack:DataObject

See Also

D1Client class description.

Examples

Run this code
# NOT RUN {
library(dataone)
d1c <- D1Client("PROD", "urn:node:KNB")
pid <- "solson.5.1"
dataObj <- getD1Object(d1c, pid)
data <- getData(dataObj)
# }

Run the code above in your browser using DataCamp Workspace