ben-strasser/fast-cpp-csv-parser

Multiple input files

Closed this issue · 2 comments

Hi,

I was wondering if there's a built-in way to open multiple (same layout) csv files into one CSVReader object? I have 2 (sometimes 3) csv files that have the exact same column structure that I would like to open into one concatenated CSVReader object.

I am trying to avoid concatenating the csv files on disk prior to reading them with CSVReader and I'd like to avoid having 2-3 individual CSVReader objects to handle.

Basically, I'm wondering if there's another input option (say a vector of strings) instead of a direct filename such as below:

io::CSVReader<8, io::trim_chars<' '>, io::double_quote_escape<',', '\"'> > in(Filename);

Thanks!

I see, thanks for the answer and the great library!