read.rdf2: Read an rdf file into R.

Description Usage Arguments Details Value Examples

View source: R/read.rdf2.R

Description

read.rdf2 reads an rdf file into R and formats it as a multi-level list containing all of the metadata included in the rdf file. Rdf files are generated by RiverWare and are documented in the RiverWare documentation.

Usage

1
read.rdf2(iFile)

Arguments

iFile

The input rdf file that will be read into R.

Details

read.rdf2 is faster than read.rdf since it uses data.table::fread to read in the file. Two versions will be maintained for a while to ensure they behave identically.

Value

A multi-level list containing all metadata and slot data in the original rdf file.

Examples

1
zz <- read.rdf2(system.file('extdata/Scenario/DNF,CT,IG', "KeySlots.rdf", package = "RWDataPlot"))

rabutler/RWDataPlot documentation built on May 26, 2019, 8:51 p.m.