Get Names of CSV Files Referenced in Config
Usage
get_csv_filenames(config, keep_empty = FALSE)
Arguments
- config
configuration object (list) with one entry per "table", each
of which is expected to have an entry "file"
- keep_empty
logical. Whether or not to keep "file" entries that are
empty ("")
Value
vector of character with the file names referenced in config
Examples
config <- list(
table_a = list(file = "table-a.csv"),
table_b = list(file = "table-b.csv")
)
get_csv_filenames(config)
#> table_a table_b
#> "table-a.csv" "table-b.csv"