Skip to content

Instantly share code, notes, and snippets.

@MrMaksimize
Created January 25, 2015 20:33
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 MrMaksimize/2f3449bb2e5f747c36e8 to your computer and use it in GitHub Desktop.
Save MrMaksimize/2f3449bb2e5f747c36e8 to your computer and use it in GitHub Desktop.
InvestmentOverYears Sheet1

README is empty

Year Dollars color
2010 8000 #ECECEC
2011 10000 #60C,F83
2012 12000 #gCqBgA
2013 18000 #Fn6F1s
2014 22000 #815|0
2015 100000 #q1BT6
2016 200000
{
"name": "InvestmentOverYears Sheet1",
"state": "active",
"created": "2015-01-25T20:33:07.933Z",
"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-885951",
"resources": [
{
"backend": "csv",
"id": "InvestmentOverYears - Sheet1",
"filename": "InvestmentOverYears - Sheet1.csv",
"path": "current.csv",
"schema": {
"fields": [
{
"id": "Year",
"label": "Year",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Dollars",
"label": "Dollars",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "color",
"label": "color",
"type": "string",
"format": null,
"is_derived": false
}
]
}
},
{
"backend": "csv",
"id": "InvestmentOverYears - Sheet1-original",
"filename": "InvestmentOverYears - Sheet1.csv",
"path": "original.csv",
"schema": {
"fields": [
{
"id": "Year",
"label": "Year",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Dollars",
"label": "Dollars",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "color",
"label": "color",
"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);
});
2010 8000 #ECECEC
2011 10000 #60C,F83
2012 12000 #gCqBgA
2013 18000 #Fn6F1s
2014 22000 #815|0
2015 100000 #q1BT6
2016 200000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment