Learn R Programming

dataone (version 2.2.2)

getSystemMetadata: Get the metadata describing system properties associated with an object on this Node.

Description

The SystemMetadata includes information about the identity, type, access control, and other system level details about the object.

The SystemMetadata includes information about the identity, type, access control, and other system level details about the object.

Usage

getSystemMetadata(x, ...)

# S4 method for CNode getSystemMetadata(x, pid)

# S4 method for MNode getSystemMetadata(x, pid)

Arguments

x

The Node instance from which the SystemMetadata will be downloaded

...

(Not yet used.)

pid

The identifier of the object

Value

SystemMetadata for the object

SystemMetadata for the object

Details

This operation acts as the 'public' anonymous user unless an X.509 certificate is present in the default location of the file system, in which case the access will be authenticated.

This operation acts as the 'public' anonymous user unless an X.509 certificate is present in the default location of the file system, in which case the access will be authenticated.

See Also

CNode class description.

Examples

Run this code
# NOT RUN {
library(dataone)
cn <- CNode()
mn <- getMNode(cn, "urn:node:KNB")
pid <- "doi:10.5063/F1QN64NZ"
sysmeta <- getSystemMetadata(mn, pid)
# }
# NOT RUN {
library(dataone)
cn <- CNode()
pid <- "aceasdata.3.2"
sysmeta <- getSystemMetadata(cn, pid)
# }

Run the code above in your browser using DataLab