listNodes {dataone}R Documentation

Get the list of nodes associated with a CN

Description

Get the list of nodes associated with a CN

Usage

listNodes(x, ...)

## S4 method for signature 'CNode'
listNodes(x, url = as.character(NA), ...)

Arguments

x

The coordinating node to query for its registered Member Nodes

...

(Not yet used)

url

Optional - the url of the CN.

Value

the list of nodes in the DataONE CN environment

See Also

CNode class description.

Examples

## Not run: 
cn <- CNode()
nodelist <- listNodes(cn)
nodeid <- nodelist[[2]]@identifier

## End(Not run)

[Package dataone version 2.2.1 Index]