Refactor CSV
Refactor CSV

Refactor CSV and loop code to make significantly more readable
and significantly less nested.

ONS-OpenData/ONSdatabaker,scraperwiki/databaker,scraperwiki/databaker,ONS-OpenData/ONSdatabaker