Open hkdobrev opened 4 years ago
The dashboard doesn't use this library. Is this a feature request for the dashboard or the cli?
@Haroenv This is a feature request for this CLI library as the dashboard doesn't support it and I imagine this feature to be for more tech-savvy users.
I imagine the usage like:
algolia-upload ... --raw-column=categories
Makes sense. Implementation would be something like: https://github.com/algolia/algolia-csv-js/blob/master/lib/import.js#L53
I'd make it just raw
though (for consistency with the other options).
Do you want to make a PR?
I'll try to create a PR in the next few days.
CSV upload in Algolia dashboard does not allow to upload nested hierarchical data. The documentation says there is no agreed format for nesting data in CSV.
However, would you consider this tool to allow selecting columns which contain JSON to be uploaded as-is. E.g. you have a CSV in tabular format and then specific columns to be parsed as raw nested structures and be sent to Algolia like that.
What do you think?
{"lvl0": "Home", "lvl1": "Seating", "lvl2": "Chairs"}