getSystemMetadata function

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

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

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.

getSystemMetadata(x, ...) ## S4 method for signature 'CNode' getSystemMetadata(x, pid) ## S4 method for signature '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

Returns

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.

Examples

## Not run: library(dataone) cn <- CNode() mn <- getMNode(cn, "urn:node:KNB") pid <- "doi:10.5063/F1QN64NZ" sysmeta <- getSystemMetadata(mn, pid) ## End(Not run) ## Not run: library(dataone) cn <- CNode() pid <- "aceasdata.3.2" sysmeta <- getSystemMetadata(cn, pid) ## End(Not run)

See Also

CNodeclass description.

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