I'm very excited about the new release of Json Mangler. I'm calling this the Over 9000 Csv Update!
This update turns Json Mangler into a swiss-army-knife-data-conversion tool. Nearly all databases can export to csv tables, and now all your base are belong to tiddlywiki.
;D
- New $csv widget parses and renders any tiddler with type = 'application/csv'!
- Simply drag/drop your *.csv text-file, complete the import, (type is auto-set to 'application/csv')!!
- OR use a 'tiddlywiki.files' file to import whole folders of Csv data at once!!!
- CSV does not mean COMMA seperated values, it means CHARACTER separated values (set your own - no UI on first release)!!!!
- Fully configurable access to the included PapaParse library via a "state" tiddler for each $csv widget onscreen!!!!!
- Peek/preview to limit the rows loaded, skip-to-page to jump around LARGE datasets, a whole bunch of cool options!!!!!!
- Sophisticated CSV Import - like, whoa!!!!!!!
- Import the whole thing as one JSON Array tiddler, or import each row of the Csv as a Json or regular Tiddler!!!!!!!!
- Dynamic creation of "simplified" field-names when importing individual tiddlers based on column index# or a "slugged" version of the original column name!!!!!!!!
I have included a test Csv in the new example wiki (below), which is a database of video game sale from a few years ago. It has 16,600 rows (including an empty row, and a headers row), so you can play around with all of the peek, display, and import options.
Thanks very much for any feedback!
Github repo:
https://github.com/joshuafontany/TW5-JsonMangler