Attached is the raw JSON file and how I would like the CSV formatted. Note the JSON data i'm scaping is in degrees whereas my CSV i'm sharing is in radians. This is not an issue.
I don't necessarily need the CSV, but I have been using the method I've posted here:
and I need to be able to store the data offline in case my application has no data connection available at the time of use. An external (outside of the app assets) CSV seemed to be a logical extension of my original application.
Happy to explore the storage and direct use of the JSON and dictionaries to achieve the same outcome.
I've worked a bit more this morning on this. Almost have it right using the CSV method except:
- The formatting is not quite right. My blocks below are inserting the '\n' between the "-" symbol and the corresponding number. This means those numbers go from -ve to +ve and there's a "blank" cel created at the start of each CSV row; and
- My csv table is up-side down. (an easy fix I think).
*note: i've left some of the debugging code in here.
