listNodes: Get the list of nodes associated with a CN

listNodesR 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)

dataone documentation built on June 11, 2022, 1:06 a.m.