rvn_csv_read | R Documentation |
Reads in output csv files produced by Raven.
rvn_csv_read(ff = NA, tzone = "UTC", xtsformat = TRUE)
ff |
full file path to the csv file |
tzone |
string indicating the timezone of the data in ff |
xtsformat |
boolean whether to return in xts format (if date and/or hour found) |
Expects a full file path to the Raven output file.
The timezone is provided by the tzone argument as "UTC" by default, and should be adjusted by the user to the local time zone as needed, based on the model run.
data frame (as xts if set with xtsformat
) read from the file
rvn_hyd_read
for reading Hydrographs output files
# create full file path
ff <- system.file("extdata","ReservoirStages.csv", package="RavenR")
# read in the Reservoir file with the generic call
myres <- rvn_csv_read(ff)
# view contents
head(myres)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.