read_res.csv {SWTools}R Documentation

Function to import a Source .res.csv File Returns data (as a Data Frame, Zoo, or tibble) as a time Series with all Results Read Source .res.csv file into a data table or zoo time series

Description

Function to import a Source .res.csv File Returns data (as a Data Frame, Zoo, or tibble) as a time Series with all Results Read Source .res.csv file into a data table or zoo time series

Usage

read_res.csv(resFile, returnType = "df")

Arguments

resFile

A character string representing the full file path of the .res.csv file

returnType

A character string to set the return type: "z", "t", "df". If not matching "t" (tibble) or "z" (zoo), data frame returned.

Value

Data in the format selected with all data read in from the Source .res.csv file

Examples

 
## Not run: 
X = read_res.csv("./SWTools/extdata/Scenario1.res.csv",returnType="t")

## End(Not run)


[Package SWTools version 1.0.3 Index]