View source: R/readResultCSV.R
readResultCSV | R Documentation |
Reads RS Minerve result file and returns data.
readResultCSV(filename, tz = "UTC")
filename |
Path to file to be read. It is any csv file that is written by saving data from the Selection and plots tab in RSMinerve to a csv file. Depending on the systems locale, the csv may use comas or semi-colons as separators. The decimal separator must be a point, commas are not recognized. |
tz |
Time zone character passed to as.POSIXct. Defaults to "UTC". |
data Tibble with data from file. Null if file not found or cant be read.
An example RSMinerve results csv file is available under http://raw.githubusercontent.com/hydrosolutions/RSMinerveR/main/tests/testthat/test_translateCSVtoDST.csv. If the function generates funny numbers, please check the csv file. The decimal separators must be .
and not ,
. If you find commas please change the settings of your PC (Control Panel, Clock and Region, Region, Additional settings, select .
for the Decimal symbol, press "Apply" and close the Control Panel windows. and RSMinerve will write ,
.
Other RS Minerve IO:
getChunkSize()
,
load_minerve_input_csv()
,
readDBCSV()
,
readForcingCSV()
,
readForcingSTR()
,
readRSMParameters()
,
readResultDST()
,
readSelectionCHK()
,
translateCSVtoDST()
,
writeRSMParameters()
,
writeSelectionCHK()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.