updateInfoTable: Update the table with information of module runs.

View source: R/updateInfoTable.R

updateInfoTableR Documentation

Update the table with information of module runs.

Description

Update the table with information of module runs.

Usage

updateInfoTable(year = NA, table = NA, mode = NA, results = NA)

Arguments

year

The year.

table

The datatable with runs information.

mode

String: which type of update will be done. "restart" means only the "restarted" date string will be updated (it will also update the "info" variable by setting it to "restarted"; "save" will update the table with information to the data inserted/appended/ignored/discarded, and will update the "saved" variable (it will also update the "info" variable by inserting the hours required by the module).

results

The object returned by faosws::SaveData().

Value

NULL.


SWS-Methodology/faoswsTrade documentation built on Feb. 13, 2023, 1:04 a.m.