sidfex.fcst.search.rda2csv: Save R data frame of search index to CSV file

View source: R/sidfex.fcst.search.rda2csv.R

sidfex.fcst.search.rda2csvR Documentation

Save R data frame of search index to CSV file

Description

This is a small function that will mainly be called by sidfex.fcst.search.createIndexTable but can also be used as a standalone function (even if I can't see any big advantages other than testing frameworks) to save the data frame of the index file in R to a CSV file.

Usage

  sidfex.fcst.search.rda2csv (rTab.in, headerlines, indexTable.path=NULL)

Arguments

rTab.in

a data frame to be written in the CSV file

headerlines

some lines of characters that will appear in the CSV file above the data

indexTable.path

NULL or a character specifying the directory where to find or create the index file. If NULL, it is attempted to source a file named .SIDFEx in the home directory where a character variable data.path.indexTable.in needs to be defined.

Note

To be honest, your life will most probably not change essentially after the use of this function.

Author(s)

Simon Reifenberg

See Also

sidfex.fcst.search.createIndexTable, sidfex.fcst.search.extractFromTable, sidfex.fcst.search.addTableItem


helgegoessling/SIDFEx documentation built on March 15, 2024, 2:26 p.m.