Skip to contents

Read metadata Dublin Core

Usage

read_metadata_dublin_core(packageId, env = "production")

Arguments

packageId

(character) Data package identifier

env

(character) Repository environment. Can be: "production", "staging", or "development".

Value

(xml_document) Dublin Core metadata.

See the xml2 library for more on working with XML.

Examples

if (FALSE) { # \dontrun{

# Read dc metadata
dc <- read_metadata_dublin_core("knb-lter-nes.10.1")
dc
#> {xml_document}
#> <dc schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http: ...
#> [1] <dc:type/>
#> [2] <dc:identifier/>
} # }