View source: R/apsim_classic.R
read_apsim_all | R Documentation |
Like read_apsim
, but it can read many .out files in a directory.
It will read all of them unless these are filtered using a regular expression as an argument
to ‘value’.
read_apsim_all(
filenames,
src.dir = ".",
value = "report",
date.format = "%d/%m/%Y",
simplify = TRUE,
silent = FALSE
)
filenames |
names of files to be read |
src.dir |
source directory where files are located |
value |
either ‘report’, ‘user-defined’ or ‘all’ (not implemented at the moment) |
date.format |
format for adding ‘Date’ column |
simplify |
whether to return a single data frame or a list. |
silent |
whether to issue warnings or suppress them |
Read all APSIM generated .out files in a directory
returns a data frame or a list depending on the argument ‘simplify’ above.
Warning: very simple function at the moment, not optimized for memory or speed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.