MNode function

Create a MNode object representing a DataONE Member Node repository.

Create a MNode object representing a DataONE Member Node repository.

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

MNode(x) ## S4 method for signature 'character' MNode(x) ## S4 method for signature 'D1Node' MNode(x)

Arguments

Returns

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.

Examples

## Not run: mn <- MNode("https://knb.ecoinformatics.org/knb/d1/mn/v2") ## End(Not run)

See Also

MNodeclass description.

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