getMetadataMember: Get the DataObject containing package metadata

Description Usage Arguments Details Value

Description

Each DataObject in the DataPackage is inspected to see if it matches one of the formats supported by DataONE for metadata. If a package member's format matches one of the supported formats, the identifier for that member is returned.

Usage

1
2
3
4
5
getMetadataMember(x, dp, ...)

## S4 method for signature 'D1Client,DataPackage'
getMetadataMember(x, dp, as = "character",
  ...)

Arguments

x

A D1Client object

dp

A DataPackage object

...

(Additional arguments, Not yet used.)

as

A value of type "character" that specifies the return value. Possible values are "character" (the default) or "DataPackage".

Details

This method calls the DataONE CN 'format' service to obtain the current format list.

Value

The identifier of the metadata object


dataone documentation built on July 2, 2018, 1:02 a.m.