getD1Object function

Download a data object from the DataONE Federation.

Download a data object from the DataONE Federation.

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)

Arguments

  • x: A D1Client instance
  • identifier: The identifier of the object to download from DataONE
  • ...: (not yet used)

Returns

A datapack:DataObject

Examples

## Not run: library(dataone) d1c <- D1Client("PROD", "urn:node:KNB") pid <- "solson.5.1" dataObj <- getD1Object(d1c, pid) data <- getData(dataObj) ## End(Not run)

See Also

D1Clientclass description.

  • Maintainer: Matthew B. Jones
  • License: Apache License 2.0
  • Last published: 2022-06-10

Downloads (last 30 days):