read_output: Read APSIMX output

View source: R/read_output.R

read_outputR Documentation

Read APSIMX output

Description

Read APSIMX output

Usage

read_output(apsimx_file, report = "HarvestReport", years = NULL)

Arguments

apsimx_file

The path to the APSIMX output file (.apsimx)

report

The name of the report to read from the APSIMX output ( default: "HarvestReport")

years

Optional numeric vector of years to filter the output by (e.g., 1996:2025)

Value

A data frame containing the APSIMX output data

Examples

apsimx_file <- system.file(
  "example", "cultivar.apsimx",
  package = "rapsimng.decide.core"
)
output <- read_output(apsimx_file, years = 2010:2011)
head(output)

rapsimng.decide.core documentation built on Nov. 21, 2026, 9:08 a.m.