Learn R Programming

dataone (version 2.2.2)

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)

Arguments

x

The coordinating node to query for its registered Member Nodes

...

(Not yet used)

nodeid

The standard identifier string for this node

Value

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

See Also

CNode class description.

Examples

Run this code
# NOT RUN {
cn <- CNode()
mn <- getMNode(cn, "urn:node:KNB")
# }

Run the code above in your browser using DataLab