I need to merge several hundred CSV files into a single table. The catch is that some of the CSV files have additional columns that the others don't.
The recommended method for merging CSVs seems to be:
List Files > Table Row to Varialbe Loop Start > File Reader > Loop End
But the process results in an error when it runs into a CSV with different dimensions. The File Reader node says that the data format is wrong (e.g. a string where it is expecting an integer) or that there are too many/few elements.
One solution would be to exclude the additional columns and restrict the process to just those columns that are present in all input files. But the workflow can't progress past the File Reader node, and I can't see how to fliter the columns without going through this node first. Another option might be some kind of recursive concatenation, but I don't know how to achieve this.
I can't use the CSV Reader node, because it doesn't seem to accommodate line breaks within quotes, which occurs throughout my input data.
Is there any solution? Otherwise it looks like I'll be spending a several hours manually filtering the columns of all the input files.
Thanks.