getMNode function

Get a reference to a node based on its identifier

Get a reference to a node based on its identifier

getMNode(x, ...) ## S4 method for signature 'CNode' getMNode(x, nodeid)

Arguments

  • x: The coordinating node to query for its registered Member Nodes
  • ...: (Not yet used)
  • nodeid: The standard identifier string for this node

Returns

the Member Node as an MNode reference, or NULL if not found

Details

For an explanation of DataONE Coordinating Nodes and Member Node identifiers, see the section "DataONE Environments" in the overview vignette by entering the R command: vignette("dataone-overview").

Examples

## Not run: cn <- CNode() mn <- getMNode(cn, "urn:node:KNB") ## End(Not run)

See Also

CNodeclass description.

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