Import _geoloc with CSV

How to pass JSON object inside CSV file?
I have a big CSV with several fields and i’m trying to import _geoloc lat/lng data, too. Get error in any case i tried.

Hi @upgrademasters, thanks for your question!

Unfortunately nesting data in CSV files is not supported on our dashboard. CSV is meant to be a format describing flat data, and there doesn’t seem to be clear standard practices for embedding nested data.

The easiest way to achieve what you want would be to write a script converting the CSV file into a JSON file, adding the _geoloc nested attributes to each JSON object.

2 Likes

Thank you Alexandre. I already converted my data to JSON. But it’s great to receive confirmation of that is the right way.

1 Like