write 2006 census to csv