resolve: Get a list of coordinating nodes holding a given pid.

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
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

1
2
3
4
5
6
7
## Not run: 
library(dataone)
cn <- CNode("STAGING")
id <- "doi:10.6073/pasta/9a27a1615e8e4c366ad09fefbfa2fced"
locations <- resolve(cn,id)

## End(Not run)

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