dbOutput_update_OverallAggregationTable: Add fields to an existing 'dbOutput'

Description Usage Arguments

View source: R/OutputDatabase.R

Description

You realize that you want additional output fields after starting a simulation project; or, the package is updated while you are working on a simulation, and produces now additional output fields for output options that are active in your simulation project. In either case, you don't want to discard data that is already in ‘dbOutput’.

Usage

1
2
3
4
5
6
dbOutput_update_OverallAggregationTable(
  SFSW2_prj_meta,
  col_ids = NULL,
  chunksize = 1000,
  verbose = FALSE
)

Arguments

SFSW2_prj_meta

See elsewhere

col_ids

An integer vector. If NULL then the code will match old and new fields automatically. If not NULL and its length is equal to the number of fields in the old table, then this information is used to transfer data. Possible use case: field names have changed, but they represent the same output.

chunksize

An integer value. Chunks used to transfer data to the new table.

verbose

A logical value.


Burke-Lauenroth-Lab/rSFSW2 documentation built on Aug. 14, 2020, 5:20 p.m.