Skip to contents

Read metadata resource metadata

Usage

read_metadata_resource_metadata(
  packageId,
  as = "data.frame",
  env = "production"
)

Arguments

packageId

(character) Data package identifier

as

(character) Format of the returned object. Can be: "data.frame" or "xml".

env

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

Value

(data.frame or xml_document) Resource metadata for the data package metadata resource

Examples

if (FALSE) { # \dontrun{

# Read resource metadata
resourceMetadata <- read_metadata_resource_metadata(
 packageId = "knb-lter-pal.309.1"
)
} # }