getD1Object {dataone} | R Documentation |
An object is download from the DataONE network for the identifier that is provided.
getD1Object(x, identifier, ...)
## S4 method for signature 'D1Client'
getD1Object(x, identifier)
x |
A D1Client instance |
identifier |
The identifier of the object to download from DataONE |
... |
(not yet used) |
A datapack:DataObject
D1Client
class description.
## Not run:
library(dataone)
d1c <- D1Client("PROD", "urn:node:KNB")
pid <- "solson.5.1"
dataObj <- getD1Object(d1c, pid)
data <- getData(dataObj)
## End(Not run)