getMNode {dataone}R Documentation

Get a reference to a node based on its identifier

Description

Get a reference to a node based on its identifier

Usage

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

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").

Value

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

See Also

CNode class description.

Examples

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

## End(Not run)

[Package dataone version 2.2.1 Index]