getCapabilities function

Get the node capabilities description, and store the information in the MNode.

Get the node capabilities description, and store the information in the MNode.

Access the DataONE getCapabilities() service for the Member Node, which returns an XML description of the repository and the services it offers.

getCapabilities(x, ...) ## S4 method for signature 'MNode' getCapabilities(x)

Arguments

  • x: The node identifier with which this node is registered in DataONE
  • ...: (Not yet used.)

Returns

an XMLInternalDocument object representing the DataONE environment

Examples

## Not run: library(dataone) cn <- CNode() mn <- getMNode(cn, "urn:node:KNB") xml <- getCapabilities(mn) ## End(Not run)

See Also

https://purl.dataone.org/architecture/apis/MN_APIs.html#MN_core.getCapabilities

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