listNodes function

Get the list of nodes associated with a CN

Get the list of nodes associated with a CN

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.

Returns

the list of nodes in the DataONE CN environment

Examples

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

See Also

CNodeclass description.

  • Maintainer: Matthew B. Jones
  • License: Apache License 2.0
  • Last published: 2022-06-10