Learn R Programming

dvn (version 0.3.5)

dvExtractFileIds: Extract fileId(s) from metadata

Description

Extract fileId(s) from metadata for a dataverse record.

Usage

dvExtractFileIds(xml)

Arguments

xml
A character string containing an XML data structure returned by dvMetadata.

Value

Details

Extracts all of the fileIds associated with a retrieved dataverse record. Metadata format must be DDI. The Dublin Core metadata record does not include fileIds.

See Also

dvMetadata

Examples

Run this code
## Not run: 
# xml <- dvMetadata("hdl:1902.1/17218")
# dvExtractFileIds(xml)
# ## End(Not run)

Run the code above in your browser using DataLab