Description Usage Arguments Value Note Author(s) References See Also Examples
Reads data sheets of different formats directly as lfobjs.
1 2 |
file |
The name of the file which the data are to be read from. |
type |
The style of the sheet, currently the following formats are accepted: "GRDC", "HZB" (Austria), "LFU" (Germany, Bavaria), "TU" (Technical University Vienna) |
lfobj |
logical, should a lfobj be created? |
readmeta |
logical, should metainformation from data sheets be saved? |
encoding |
The name of the encoding to be assumed. See the Encoding section of |
... |
Handed to createlfobj, could be "hyearstart", "baseflow" or "meta", if "readmeta" is FALSE |
A lfobj or data.frame depending on "lfobj".
If you like other file formats (national standards) to be includes, send some examples with a remark how NAs are marked to the author
Daniel Koffler and Gregor Laaha
Gustard, A. & Demuth, S. (2009) (Eds) Manual on Low-flow Estimation and Prediction. Operational Hydrology Report No. 50, WMO-No. 1029, 136p.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Finding the filename of the sample file on your computer
fn <- system.file("samplesheets/9104020.day", package = "lfstat")
grdc <- readlfdata(fn, type = "GRDC", baseflow = FALSE, hyearstart = 1)
head(grdc)
fn <- system.file("samplesheets/kloesterle.dat", package = "lfstat")
hzb <- readlfdata(fn, type = "HZB", baseflow = FALSE, hyearstart = 1)
head(hzb)
fn <- system.file("samplesheets/oberammergau.dat", package = "lfstat")
lfu <- readlfdata(fn, type = "LFU", baseflow = FALSE, hyearstart = 1)
head(lfu)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.