Prepare config for multiple raw files
Value
A list list(tables = ...) ready to write with config_prep_write().
Examples
dir1 <- "extdata/tool1/latest"
path1 <- system.file(dir1, "sampleA.tool1.table1.tsv", package = "nemo")
path2 <- system.file(dir1, "sampleA.tool1.table2.tsv", package = "nemo")
x <- tibble::tibble(
name = c("table1", "table2"),
descr = c("Table1 from Tool1.", "Table2 from Tool1."),
pat = c("\\.tool1\\.table1\\.tsv$", "\\.tool1\\.table2\\.tsv$"),
type = c("txt", "txt"),
path = c(path1, path2)
)
config <- config_prep_multi(x)
