Skip to content

Instantly share code, notes, and snippets.

@ndkv
Created September 6, 2016 08:33
Show Gist options
  • Save ndkv/689b67cbca60ab8da24949ae38660972 to your computer and use it in GitHub Desktop.
Save ndkv/689b67cbca60ab8da24949ae38660972 to your computer and use it in GitHub Desktop.
No name

README is empty

a lat lon
1 56.3 4.3
2 56.4 4.2
{
"name": "No name",
"state": "active",
"created": "2016-09-06T08:33:04.654Z",
"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
}
},
"queryState": {
"size": 2,
"from": 0,
"q": "",
"facets": {},
"filters": []
}
},
{
"id": "graph",
"label": "Graph",
"type": "Graph"
},
{
"id": "map",
"label": "Map",
"type": "Map",
"queryState": {
"size": 2,
"from": 0,
"q": "",
"facets": {},
"filters": []
}
}
],
"id": "dataexplorer-367110",
"resources": [
{
"backend": "csv",
"path": "current.csv",
"schema": {
"fields": [
{
"id": "a",
"label": "a",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "lat",
"label": "lat",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "lon",
"label": "lon",
"type": "string",
"format": null,
"is_derived": false
}
]
}
},
{
"backend": "csv",
"path": "original.csv",
"id": "undefined-original",
"schema": {
"fields": [
{
"id": "a",
"label": "a",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "lat",
"label": "lat",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "lon",
"label": "lon",
"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);
});
1 56.3 4.3
2 56.4 4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment