Problem
combineVendFileInfo is supposed to combine the isodat/dxf data with its metadata (file_id, identifier1, analysis, preparation, etc.), however it currently does this in a very fragile manner.
Proposed Solution
Grab each column in by name, and re-name columns by a map (new-name only gets applied to column with old-name) rather than positionally by index. Also, fix sub-setting such that only the requested columns are returned and if those columns do not exist a specific, informative error is returned.
Problem
combineVendFileInfois supposed to combine the isodat/dxf data with its metadata (file_id, identifier1, analysis, preparation, etc.), however it currently does this in a very fragile manner.Proposed Solution
Grab each column in by name, and re-name columns by a map (new-name only gets applied to column with old-name) rather than positionally by index. Also, fix sub-setting such that only the requested columns are returned and if those columns do not exist a specific, informative error is returned.