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.
getMetadataMember(x, dp, ...)# S4 method for D1Client,DataPackage
getMetadataMember(x, dp, as = "character", ...)
A D1Client object
A DataPackage object
(Additional arguments, Not yet used.)
A value of type "character"
that specifies the return value. Possible values are "character"
(the default) or "DataPackage"
.
The identifier of the metadata object
This method calls the DataONE CN 'format' service to obtain the current format list.