loadDataPackageList: Read contents of data packge file and construct a vector with...

Description Usage Arguments Value Examples

View source: R/loadDataPackageList.R

Description

loadDataPackageList reads the data file from a package and loads it into a data frame.

Usage

1
loadDataPackageList(HoldingID, dataFormat, metadataFormat)

Arguments

HoldingID

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

dataFormat

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

metadataFormat

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 or more data frames contained within the data package to the global enviroment.

Examples

1
data_list<-loadDataPackageList(2266200,dataFormat="gdb",metadataFormat="fgdc")

joe-devivo/NPSDataStoreTools documentation built on Feb. 5, 2020, 11:05 a.m.