resolve function

Get a list of coordinating nodes holding a given pid.

Get a list of coordinating nodes holding a given pid.

Returns a list of nodes (MNs or CNs) known to hold copies of the object identified by id.

resolve(x, ...) ## S4 method for signature 'CNode' resolve(x, pid)

Arguments

  • x: a valid CNode object
  • ...: Additional arguments (not yet used).
  • pid: the id of the identified object

Returns

A list of URLs that the object can be downloaded from, or NULL if the object is not found.

Examples

## Not run: library(dataone) cn <- CNode("STAGING") id <- "doi:10.6073/pasta/9a27a1615e8e4c366ad09fefbfa2fced" locations <- resolve(cn,id) ## End(Not run)
  • Maintainer: Matthew B. Jones
  • License: Apache License 2.0
  • Last published: 2022-06-10