dataone (version 2.2.1)

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

Description

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

Usage

getCapabilities(x, ...)

# S4 method for MNode getCapabilities(x)

Arguments

x

The node identifier with which this node is registered in DataONE

...

(Not yet used.)

Value

an XMLInternalDocument object representing the DataONE environment

See Also

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

Examples

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

Run the code above in your browser using DataLab