Learn R Programming

dataone (version 2.3.0)

getMNode: 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 CNode getMNode(x, nodeid)

Value

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

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("v01-dataone-overview").

See Also

CNode() class description.

Examples

Run this code
if (FALSE) {
cn <- CNode()
mn <- getMNode(cn, "urn:node:KNB")
}

Run the code above in your browser using DataLab