Learn R Programming

apsimx (version 2.2)

read_apsim_all: Read all APSIM generated .out files in a directory

Description

Like read_apsim, but it reads all .out files in a directory.

Usage

read_apsim_all(
  filenames,
  src.dir = ".",
  value = c("report", "all"),
  date.format = "%d/%m/%Y",
  simplify = TRUE
)

Arguments

filenames

names of files to be read

src.dir

source directory where files are located

value

either ‘report’ or ‘all’ (only ‘report’ implemented at the moment)

date.format

format for adding ‘Date’ column

simplify

whether to return a single data frame or a list.

Value

returns a data frame or a list depending on the argument ‘simplify’ above.

Details

Read all APSIM generated .out files in a directory