Description Usage Arguments Value
View source: R/DefineAndUpdateVariables.R
This function defines the translation table used as input to TranslateStoxBiotic
and similar functions to translate values of one or more columns to new values given by a table or read from a CSV file.
1 2 3 4 5 6 7 8 | DefineTranslation(
processData,
UseProcessData = FALSE,
DefinitionMethod = c("ResourceFile", "TranslationTable"),
TranslationTable = data.table::data.table(),
Conditional = FALSE,
FileName = character()
)
|
processData |
The current data produced by a previous instance of the function. |
UseProcessData |
Logical: If TRUE use the existing function output in the process. |
DefinitionMethod |
Character: A string naming the method to use, one of "TranslationTable" for defining the |
TranslationTable |
A table of the columns |
Conditional |
Logical: If TRUE the columns |
FileName |
The csv file holding a table with the three variables listed for |
A Translation
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.