View source: R/sidfex.fcst.search.createIndexTable.R
sidfex.fcst.search.createIndexTable | R Documentation |
DEPRECATED (replaced by sidfex.fcst.search.createIndex) - Loop through the downloaded SIDFEx forecasts and add some predefined key quantities and information to the (previously existing or not) index file "indexTable.rda". If the specified index file does not exist, a new one is created. The data will be stored in .rda-format.
sidfex.fcst.search.createIndexTable (indexTable.path = NULL, data.path = NULL, do.fromScratch = FALSE, do.saveAddCSV = TRUE, checkfileformat = TRUE, do.print.less = TRUE)
indexTable.path |
|
data.path |
|
do.fromScratch |
a boolen value, default |
do.saveAddCSV |
a boolean value, default |
checkfileformat |
a logical value specifying whether or not to check if the file format complies with the SIDFEx conventions, using |
do.print.less |
a logical value specifying whether or not to print a statement for every dataset while adding it to the index file (to keep console output down). Will be also passed on to |
This function returns 1
if it ran successfully.
Use the option do.fromScratch
carefully, as (for now) the existing file is removed before the new one is created. If there's some time for that task in the future, a backup copy of the old file will be stored until the new one is written on disk - implementation pending.
The optionally produced CSV file is mainly generated for users not familiar with R. As it is only a copy of the .rda file and won't be altered or affected by changes in the .rda file in general, it is recommended to work with the .rda file whenever possible.
Simon Reifenberg
sidfex.fcst.search.addTableItem
, sidfex.fcst.search.extractFromTable
, sidfex.fcst.search.rda2csv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.