I've been storing my data in a structure that looks like this:
dictionary = {'name': 'Jeff', 'state': 'CA', finish_times: [17.34, 12.23]}
When I write it to csv, I only want this data to take up one row, so like:
Name State Finish_Times
'Jeff' 'CA' [17.34, 12.23]
And I've been able to write the data to a csv exactly like that. The problem is I can't manipulate the list in R. Is there a way to convert the list to a format manageable by R? or will I have to restructure my data?
EDIT: Thanks for all the responses, I've tried using JSON, but I think I'm just gonna manipulate my scraped data within python. That way I can correctly interpret the lists and dictionaries I'm making.