`load_pkg_metadata()` reads the metadata file from a previously downloaded package and loads a list of fields and their attributes into a dataframe.

load_pkg_metadata(holding_id, directory = here::here("data"))

Arguments

holding_id

is a 6-7 digit number corresponding to the holding ID of the data package zip file.

directory

String. Path to the data package

Value

one data frame to the global environment.

Examples

if (FALSE) { # \dontrun{
load_pgk_metadata(2266200)
} # }