R/load_domains.R
load_domains.Rd
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)
is a 6-7 digit number corresponding to the holding ID of the data package zip file.
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
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
one data frame to the global environment.
if (FALSE) { # \dontrun{
load_domains(2266200, data_format = "gdb", metadata_format = "fgdc")
} # }