Skip to content

Instantly share code, notes, and snippets.

@carchrae
Created July 31, 2015 01:21
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 carchrae/808f462bb4d0f4384799 to your computer and use it in GitHub Desktop.
Save carchrae/808f462bb4d0f4384799 to your computer and use it in GitHub Desktop.
World head

README is empty

Country Product Flow Unit Date Quantity Code Qualifier
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2002 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2003 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2004 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2005 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2006 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2007 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2008 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2009 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2010 8130 3
{
"name": "World head",
"state": "active",
"created": "2015-07-31T01:21:09.919Z",
"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-100922",
"resources": [
{
"backend": "csv",
"id": "World-head",
"filename": "World-head.csv",
"path": "current.csv",
"schema": {
"fields": [
{
"id": "Country",
"label": "Country",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Product",
"label": "Product",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Flow",
"label": "Flow",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Unit",
"label": "Unit",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Date",
"label": "Date",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Quantity",
"label": "Quantity",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Code",
"label": "Code",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Qualifier",
"label": "Qualifier",
"type": "string",
"format": null,
"is_derived": false
}
]
}
},
{
"backend": "csv",
"id": "World-head-original",
"filename": "World-head.csv",
"path": "original.csv",
"schema": {
"fields": [
{
"id": "Country",
"label": "Country",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Product",
"label": "Product",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Flow",
"label": "Flow",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Unit",
"label": "Unit",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Date",
"label": "Date",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Quantity",
"label": "Quantity",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Code",
"label": "Code",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Qualifier",
"label": "Qualifier",
"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);
});
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2002 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2003 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2004 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2005 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2006 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2007 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2008 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2009 8130 3
ALGERIA CRUDEOIL CSNATTER CONVBBL APR2010 8130 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment