handlebars.js template or jquery-vertical-timelinesSnippets: Build a flat json file for
UPDATED I've made some updates to the handlebars-json.py script.
- Script now accepts a "usage" argument for "handlebars" or "timeline" or "array"
- Script assumes a header row and strips underscores and spaces and converts header fields to lowercase when creating keys.
- Because the resulting JSON file can also be used to power Vertical Timelines, I've re-named the script to csv-to-json.py.
- The handlebars-json-csvkit.py script remains unchanged. I will attempt to re-work it to create handlebars or timeline JSON in the coming weeks.
See more in the Usage section below.