Skip to content

Instantly share code, notes, and snippets.

@cristus
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save cristus/5bb7ab32e2a46b2a6d69 to your computer and use it in GitHub Desktop.

Select an option

Save cristus/5bb7ab32e2a46b2a6d69 to your computer and use it in GitHub Desktop.
No name

README is empty

Segment Name Model Name _noname_ Trim Name _noname_1 Engine size Dealer Price Cash Discount Transaction Price MY
Luxury Segment 1 Lincoln MKZ 1.1 Standard 3.7L 129350 0 129350 MY14
Luxury Segment 1 Lincoln MKZ 1.2 NA NA 0
Luxury Segment 1 Lincoln MKZ 1.3 Limited 3.7L 165000 0 165000 MY14
Luxury Segment 2 Cadilac CTS 2.1 Standard 3.6L NA 0
Luxury Segment 2 Cadilac CTS 2.2 Luxury 3.6L NA 0
Luxury Segment 2 Cadilac CTS 2.3 Full option 3.6L 245000 0 245000 MY15
Luxury Segment 3 Lexus GS 350 3.1 Standard 3.5L 186000 0 186000 MY15
Luxury Segment 3 Lexus GS 350 3.2 Mid 3.5L 215800 0 215800 MY15
Luxury Segment 3 Lexus GS 350 3.3 Full option 3.5L 235800 0 235800 MY15
{
"name": "No name",
"state": "active",
"created": "2015-02-14T19:51:51.229Z",
"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": 10,
"from": 0,
"q": "",
"facets": {},
"filters": [],
"sort": [
{
"field": "Dealer Price",
"order": "asc"
}
]
}
},
{
"id": "graph",
"label": "Graph",
"type": "Graph",
"queryState": {
"size": 10,
"from": 0,
"q": "",
"facets": {},
"filters": [],
"sort": [
{
"field": "Segment Name\tModel Name\t\tTrim Name\t\tEngine size\tDealer Price\tCash Discount\tTransaction Price\tMY",
"order": "asc"
}
]
},
"state": {
"group": "Segment Name",
"series": [],
"graphType": "lines-and-points"
}
},
{
"id": "map",
"label": "Map",
"type": "Map",
"queryState": {
"size": 10,
"from": 0,
"q": "",
"facets": {},
"filters": [],
"sort": [
{
"field": "Dealer Price",
"order": "asc"
}
]
}
}
],
"id": "dataexplorer-248386",
"resources": [
{
"backend": "csv",
"delimiter": "\t",
"path": "current.csv",
"schema": {
"fields": [
{
"id": "Segment Name",
"label": "Segment Name",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Model Name",
"label": "Model Name",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "_noname_",
"label": "_noname_",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Trim Name",
"label": "Trim Name",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "_noname_1",
"label": "_noname_1",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Engine size",
"label": "Engine size",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Dealer Price",
"label": "Dealer Price",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Cash Discount",
"label": "Cash Discount",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Transaction Price",
"label": "Transaction Price",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "MY",
"label": "MY",
"type": "string",
"format": null,
"is_derived": false
}
]
}
},
{
"backend": "csv",
"delimiter": "\t",
"path": "original.csv",
"id": "undefined-original",
"schema": {
"fields": [
{
"id": "Segment Name",
"label": "Segment Name",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Model Name",
"label": "Model Name",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "_noname_",
"label": "_noname_",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Trim Name",
"label": "Trim Name",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "_noname_1",
"label": "_noname_1",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Engine size",
"label": "Engine size",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Dealer Price",
"label": "Dealer Price",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Cash Discount",
"label": "Cash Discount",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Transaction Price",
"label": "Transaction Price",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "MY",
"label": "MY",
"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);
});
Luxury Segment 1 Lincoln MKZ 1.1 Standard 3.7L 129350 0 129350 MY14
Luxury Segment 1 Lincoln MKZ 1.2 NA NA 0
Luxury Segment 1 Lincoln MKZ 1.3 Limited 3.7L 165000 0 165000 MY14
Luxury Segment 2 Cadilac CTS 2.1 Standard 3.6L NA 0
Luxury Segment 2 Cadilac CTS 2.2 Luxury 3.6L NA 0
Luxury Segment 2 Cadilac CTS 2.3 Full option 3.6L 245000 0 245000 MY15
Luxury Segment 3 Lexus GS 350 3.1 Standard 3.5L 186000 0 186000 MY15
Luxury Segment 3 Lexus GS 350 3.2 Mid 3.5L 215800 0 215800 MY15
Luxury Segment 3 Lexus GS 350 3.3 Full option 3.5L 235800 0 235800 MY15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment