loadDataPackage: Read contents of data packge file and construct a data frame...

Description Usage Arguments Value Examples

View source: R/loadDataPackage.R

Description

loadDataPackage reads the data file from a package and loads it into one or more data frames.

Usage

1
loadDataPackage(HoldingID, dataFormat, metadataFormat, features = NULL)

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

features

is a character value indicating the name of the feature class / data set (only used with file geodatabases)

Value

one or more data frames contained within the data package to the global enviroment.

Examples

1
datasetList<-loadDataPackage(2266200,dataFormat="gdb",metadataFormat="fgdc",features=NULL)

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