Skip to content

Instantly share code, notes, and snippets.

@timwis
Created December 3, 2015 17:20
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 timwis/c749ab78588b3ddf9a08 to your computer and use it in GitHub Desktop.
Save timwis/c749ab78588b3ddf9a08 to your computer and use it in GitHub Desktop.
Fire Stats Sheet2

README is empty

Performance Measure EMS Response Time (within 9 minutes) Fire Respose Time (Avg. within 5:20 minutes) Structural Fires Fire Deaths
FY11 Q3 62% 05:10 858 16
FY11 Q4 70% 04:52 703 9
FY12 Q1 70% 05:04 663 2
FY12 Q2 71% 04:49 829 5
FY12 Q3 67% 04:58 846 8
FY12 Q4 63% 04:55 760 9
FY13 Q1 67% 04:56 642 1
FY13 Q2 65% 04:59 783 7
FY13 Q3 65% 04:52 772 10
FY13 Q4 65% 04:51 685 7
FY14 Q1 66% 04:47 689 1
FY14 Q2 65% 04:58 853 6
FY14 Q3 60% 05:15 801 11
FY14 Q4 65% 04:51 673 5
FY15 Q1 70% 04:46 678 8
FY15 Q2 71% 04:51 705 8
FY15 Q3 66% 05:05 808 6
FY15 Q4 67% 04:57 689 3
FY16 Q1 67% 04:47 631 2
{
"name": "Fire Stats Sheet2",
"state": "active",
"created": "2015-12-03T17:20:45.519Z",
"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-819115",
"resources": [
{
"backend": "csv",
"id": "Fire Stats - Sheet2",
"filename": "Fire Stats - Sheet2.csv",
"path": "current.csv",
"schema": {
"fields": [
{
"id": "Performance Measure",
"label": "Performance Measure",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "EMS Response Time (within 9 minutes)",
"label": "EMS Response Time (within 9 minutes)",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Fire Respose Time (Avg. within 5:20 minutes)",
"label": "Fire Respose Time (Avg. within 5:20 minutes)",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Structural Fires",
"label": "Structural Fires",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Fire Deaths",
"label": "Fire Deaths",
"type": "string",
"format": null,
"is_derived": false
}
]
}
},
{
"backend": "csv",
"id": "Fire Stats - Sheet2-original",
"filename": "Fire Stats - Sheet2.csv",
"path": "original.csv",
"schema": {
"fields": [
{
"id": "Performance Measure",
"label": "Performance Measure",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "EMS Response Time (within 9 minutes)",
"label": "EMS Response Time (within 9 minutes)",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Fire Respose Time (Avg. within 5:20 minutes)",
"label": "Fire Respose Time (Avg. within 5:20 minutes)",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Structural Fires",
"label": "Structural Fires",
"type": "string",
"format": null,
"is_derived": false
},
{
"id": "Fire Deaths",
"label": "Fire Deaths",
"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);
});
FY11 Q3 62% 05:10 858 16
FY11 Q4 70% 04:52 703 9
FY12 Q1 70% 05:04 663 2
FY12 Q2 71% 04:49 829 5
FY12 Q3 67% 04:58 846 8
FY12 Q4 63% 04:55 760 9
FY13 Q1 67% 04:56 642 1
FY13 Q2 65% 04:59 783 7
FY13 Q3 65% 04:52 772 10
FY13 Q4 65% 04:51 685 7
FY14 Q1 66% 04:47 689 1
FY14 Q2 65% 04:58 853 6
FY14 Q3 60% 05:15 801 11
FY14 Q4 65% 04:51 673 5
FY15 Q1 70% 04:46 678 8
FY15 Q2 71% 04:51 705 8
FY15 Q3 66% 05:05 808 6
FY15 Q4 67% 04:57 689 3
FY16 Q1 67% 04:47 631 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment