It does this by adding items (seeds) to a collection, then adding properties (leaves) to those items.
Once the table of data has been built, the data and table description can be exported and easily published online, viewed in the same interface but without the ability to update the data.
The easiest way to get started is to use the vege-table web interface to create projects.
Alternatively - or if you'd like to help with development - follow the full instructions below.
- Make sure you have Bower installed.
- Create a new project folder, and run
- Install vege-table and its dependencies:
bower install vege-table --save
- Create an
- Include the Polymer platform:
- Use an HTML import to import the vege-table element:
<link rel="import" href="bower_components/vege-table/vege-table.html">
- Add the vege-table element to the page:
<vege-table db="your-database-name"></vege-table>. Note that the “db” value should be a unique database identifier for each project.
- Start a web server in the project folder:
python -m SimpleHTTPServer 9000and open http://localhost:9000/ in a web browser (ideally the very latest version of Chrome or Firefox).
Now you can add some seeds and some leaves to create your table.
There are several important things to bear in mind:
- There are bugs (both known and unknown) - this is still a very early release, and it uses some technologies that are not yet fully stable.
- Only some services add the CORS
Access-Control-Allow-Originheader to their resources, so often resources cannot be fetched directly. To work around this (and providing benefits in other ways, such as caching), pass all request through cache-proxy. View source on an example table to see how to use
Request.prototype.prepareto manipulate the URL before the request is sent.
- By default, IndexedDB (where the data is stored) is allowed to use up to 10% of the free disk space. After that, properties may start silently going missing and things may stop saving. TODO: a browser extension will help with this.
- OpenRefine / Google Refine / Piggybank / David Huynh
- Google Sheets / Apps Script / Fusion Tables
- Tabulator / Tim Berners-Lee
- Wolfram Language / Stephen Wolfram
- dat / Max Ogden
- R / Hadley Wickham
- iPython Notebook
- Yahoo Pipes
- Discussions in the W3C CSV on the Web Working Group, and the work of group chairs Jeni Tennison and Dan Brickley.