Closed simonw closed 6 months ago
For example I got this from datasette-paste
importing a GeoJSON file:
Current UI:
I will copy the datasette-enrichments-re2
UI:
I'll call it "Output mode".
It worked! I ran this:
function enrich(row) {
return row.properties
}
Producing this:
It would be great to have an option where the JavaScript function could return an object, and the enrichment would then create and populate a column for every key in that object.
Would help for breaking up JSON data into separate columns.