Skip to content

Instantly share code, notes, and snippets.

@alvarowolfx
Created April 23, 2014 19:19
Show Gist options
  • Save alvarowolfx/11228863 to your computer and use it in GitHub Desktop.
Save alvarowolfx/11228863 to your computer and use it in GitHub Desktop.
andamentos x cidade

README is empty

desc concluido em_andamento nao_iniciado total
Manaus 0 3 9 12
Rio de Janeiro 4 13 8 25
Cuiabá 1 5 11 17
Nacional 2 16 14 32
Porto Alegre 1 4 12 17
Natal 1 11 10 22
São Paulo 3 8 7 18
Recife 4 16 15 35
Belo Horizonte 2 10 12 24
Fortaleza 4 14 7 25
Brasília 1 4 7 12
Salvador 9 14 12 35
Curitiba 1 13 17 31
{
"name": "andamentos x cidade",
"state": "active",
"created": "2014-04-23T19:19:12.288Z",
"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,
"autoEdit": false,
"enableCellNavigation": true
}
}
},
{
"id": "graph",
"label": "Graph",
"type": "Graph"
},
{
"id": "map",
"label": "Map",
"type": "Map"
}
],
"id": "dataexplorer-703836",
"resources": [
{
"backend": "csv",
"id": "andamentos x cidade",
"filename": "andamentos x cidade.csv",
"path": "current.csv",
"schema": {
"fields": [
{
"id": "desc",
"label": "desc",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "concluido",
"label": "concluido",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "em_andamento",
"label": "em_andamento",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "nao_iniciado",
"label": "nao_iniciado",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "total",
"label": "total",
"type": "string",
"format": null,
"is_derived": false
}
]
}
},
{
"backend": "csv",
"id": "andamentos x cidade-original",
"filename": "andamentos x cidade.csv",
"path": "original.csv",
"schema": {
"fields": [
{
"id": "desc",
"label": "desc",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "concluido",
"label": "concluido",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "em_andamento",
"label": "em_andamento",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "nao_iniciado",
"label": "nao_iniciado",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "total",
"label": "total",
"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);
});
Manaus 0 3 9 12
Rio de Janeiro 4 13 8 25
Cuiabá 1 5 11 17
Nacional 2 16 14 32
Porto Alegre 1 4 12 17
Natal 1 11 10 22
São Paulo 3 8 7 18
Recife 4 16 15 35
Belo Horizonte 2 10 12 24
Fortaleza 4 14 7 25
Brasília 1 4 7 12
Salvador 9 14 12 35
Curitiba 1 13 17 31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment