Skip to content

Instantly share code, notes, and snippets.

@paulfitz
Created November 1, 2014 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulfitz/1a4a067428804bb774ee to your computer and use it in GitHub Desktop.
Save paulfitz/1a4a067428804bb774ee to your computer and use it in GitHub Desktop.
Test

README is empty

bridge designer length
Brooklyn J. A. Roebling 1595
Williamsburg D. Duck 1600
Queensborough Palmer & Hornbostel 1182
Triborough O. H. Ammann 1380,383
Bronx Whitestone O. H. Ammann 2300
Throgs Neck O. H. Ammann 1800
George Washington O. H. Ammann 3500
Spamspan S. Spamington 10000
{
"name": "Test",
"state": "active",
"created": "2014-11-01T14:45:41.913Z",
"sources": [
{}
],
"profiles": {
"dataexplorer": "0.9"
},
"scripts": [
{
"id": "main.js",
"path": "main.js"
}
],
"views": [
{
"id": "grid",
"label": "Grid",
"type": "SlickGrid",
"state": {
"gridOptions": {
"editable": true,
"enabledAddRow": true,
"enabledDelRow": true,
"enableReOrderRow": true,
"autoEdit": false,
"enableCellNavigation": true
}
}
},
{
"id": "graph",
"label": "Graph",
"type": "Graph"
},
{
"id": "map",
"label": "Map",
"type": "Map"
}
],
"id": "dataexplorer-360773",
"resources": [
{
"backend": "csv",
"path": "current.csv",
"schema": {
"fields": [
{
"id": "bridge",
"label": "bridge",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "designer",
"label": "designer",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "length",
"label": "length",
"type": "string",
"format": null,
"is_derived": false
}
]
}
},
{
"backend": "csv",
"path": "original.csv",
"id": "undefined-original",
"schema": {
"fields": [
{
"id": "bridge",
"label": "bridge",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "designer",
"label": "designer",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "length",
"label": "length",
"type": "string",
"format": null,
"is_derived": false
}
]
}
}
]
}
loadDataset("current", function (error, dataset) {
// error will be null unless there is an error
// dataset is a Recline memory store (http://reclinejs.com//docs/src/backend.memory.html).
console.log(dataset);
});
Brooklyn J. A. Roebling 1595
Williamsburg D. Duck 1600
Queensborough Palmer & Hornbostel 1182
Triborough O. H. Ammann 1380,383
Bronx Whitestone O. H. Ammann 2300
Throgs Neck O. H. Ammann 1800
George Washington O. H. Ammann 3500
Spamspan S. Spamington 10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment