
Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
Click here for more information about TOBIAS.
tobias_parser(
input,
output,
filter_columns = NULL,
filter_pattern = NULL,
config = system.file("extdata", "tobias_config.json", package = "wilson"),
omit_NA = FALSE,
condition_names = NULL,
condition_pattern = "_bound$",
in_field_delimiter = ",",
dec = ".",
...
)
Path to input table
Output path.
Either a vector of columnnames or a file containing one columnname per row.
Keep columns matching the given pattern. Uses parameter filter_columns for matching if set. In the case of no matches a warning will be issued and all columns will be used.
Json file containing metadata information for all columns. Will use first occurence for duplicate column names.
Logical whether all rows containing NA should be removed.
Vector of condition names. Default = NULL. Used to classify columns not provided in config.
Used to identify condition names by matching and removing given pattern with grep
. Ignored when condition_names is set.
Delimiter for multi value fields. Default = ','.
Decimal separator. Used in file reading and writing.
Used as header information.
During conversion the parser will try to use the given config (if provided) to create the Clarion metadata. In the case of insufficient config information it will try to approximate by referencing condition names issuing warnings in the process.
As the format requires an unique id the parser will create one if necessary.
Factor grouping (metadata factor columns) is currently not implemented!