Cleaned up data code to do with open data.csv as f