The output of this function is suited for submission to https://www.ices.dk/data/data-portals/Pages/DATRAS.aspx.
The ICESDatras CSV format is a stack of comma separated tables containing all tables of ICESDatrasData
, where column names are included as header rows. The file format does not contain the same number of elements in all rows, as the different tables are not padded with columns to produce a regular table. For this reason the output of WriteICESDatras
is a character vector of comma separated strings representing the rows of the ICESDatrasData
. The resulting output file written by RstoxFramework can for this reason not be read easily by e.g. fread
.