R/db.R
readOutputFile.Rd
Read a '*_out.txt' file, apply modifications and return a data frame which should be added to the DB.
readOutputFile(f, filter = NULL, translate = TRUE, scenID = NULL)
File name to read from.
A data.table expression to filter rows.
Can be any of c("dates", "measures", "third_dimension") or simply TRUE (implies all) or FALSE (implies none).
Scenario ID to be added.