resolve {dataone} | R Documentation |
Get a list of coordinating nodes holding a given pid.
Description
Returns a list of nodes (MNs or CNs) known to hold copies of the object identified by id.
Usage
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 |
Value
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)
[Package dataone version 2.2.2 Index]