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 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".
Returns
The identifier of the metadata object
Details
This method calls the DataONE CN 'format' service to obtain the current format list.