PHP CSV import Mk.II
I’ve now written a bespoke CSV data importer, specifically for the data in this particular set. The first thing which surprised me was it’s only 201 lines of code shorter (1185 vs 1386). Having said that, the new importer doesn’t include the 447 lines of rules which describe the dataset to the generic importer. I wasn’t expecting much from the new system. The algorithm is largely the same, though I was able to pre-define and load a number of...