getD1Object: Download a data object from the DataONE Federation.

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
2
3
4
getD1Object(x, identifier, ...)

## S4 method for signature 'D1Client'
getD1Object(x, identifier)

Arguments

x

A D1Client instance

identifier

The identifier of the object to download from DatONE

...

(not yet used)

Value

A datapack:DataObject

See Also

D1Client class description.

Examples

1
2
3
4
5
6
7
8
## Not run:  
library(dataone)
d1c <- D1Client("PROD", "urn:node:KNB")
pid <- "solson.5.1"
dataObj <- getD1Object(d1c, pid)
data <- getData(dataObj)

## End(Not run)

dataone documentation built on July 2, 2018, 1:02 a.m.