Re-format the data to iterate correctly for Reading R data.