dataone (version 2.2.1)

MNode: Create a MNode object representing a DataONE Member Node repository.

Description

Construct an instance of MNode to provide mechanisms to access, create, and update data and metadata objects on the associated Member Node.

Usage

MNode(x)

# S4 method for character MNode(x)

# S4 method for D1Node MNode(x)

Arguments

x

a URI representing a base URL (i.e. https://knb.ecoinformatics.org/knb/d1/mn/v2); or a reference to a dataone::Node instance

Value

the MNode object-

Details

If the 'x' is a string, it is treated as a URI and an attempt to find an associated Member Node at that base URL is attempted. If 'x' is a Node reference, then it is cast to a MNode instance. This typically is used from the getMNode() function from the CNode class, which is the preferred way to retrieve an instance of an MNode.

See Also

MNode class description.

Examples

Run this code
# NOT RUN {
mn <- MNode("https://knb.ecoinformatics.org/knb/d1/mn/v2")
# }

Run the code above in your browser using DataCamp Workspace