POSTS write data to data.csv file