load_domains reads the data file from a package and loads a list of fields and their attributes into a data frame.

load_domains(holding_id, data_format, metadata_format)

Arguments

holding_id

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

data_format

is a character value indicating the format of the data set(s) within the data package. Currently allowable options are: * "csv" for comma separated value text files * "gdb" for file geodatabases

metadata_format

is a character value indicating the format of the metadata file within the data package. Currently allowable options are: * "eml" for eml-compliant xml metadata files * "fgdc" for FGDC-compliant xml metadata files

Value

one data frame to the global environment.

Examples

if (FALSE) { # \dontrun{
load_domains(2266200, data_format = "gdb", metadata_format = "fgdc")
} # }