Skip to content

Instantly share code, notes, and snippets.

@alchemyst
Created August 2, 2015 06:22
Show Gist options
  • Select an option

  • Save alchemyst/a643262020e38b68e4dd to your computer and use it in GitHub Desktop.

Select an option

Save alchemyst/a643262020e38b68e4dd to your computer and use it in GitHub Desktop.

Revisions

  1. alchemyst created this gist Aug 2, 2015.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    README is empty
    1,000 changes: 1,000 additions & 0 deletions current.csv
    1,000 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
    921 changes: 921 additions & 0 deletions datapackage.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,921 @@
    {
    "name": "t",
    "state": "active",
    "created": "2015-08-02T06:22:13.713Z",
    "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-876068",
    "resources": [
    {
    "backend": "csv",
    "id": "t",
    "filename": "t.csv",
    "path": "current.csv",
    "schema": {
    "fields": [
    {
    "id": "Timestamp",
    "label": "Timestamp",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1013.ASPV - SnapShot",
    "label": "L1013.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1013.ASOP - SnapShot",
    "label": "L1013.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1013.ASSP - SnapShot",
    "label": "L1013.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1023.ASPV - SnapShot",
    "label": "F1023.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1023.ASOP - SnapShot",
    "label": "F1023.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1023.ASSP - SnapShot",
    "label": "F1023.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1057.ASPV - SnapShot",
    "label": "T1057.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1057.ASOP - SnapShot",
    "label": "T1057.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1057.ASSP - SnapShot",
    "label": "T1057.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1024.ASPV - SnapShot",
    "label": "F1024.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1024.ASOP - SnapShot",
    "label": "F1024.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1024.ASSP - SnapShot",
    "label": "F1024.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1014.ASPV - SnapShot",
    "label": "L1014.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1014.ASOP - SnapShot",
    "label": "L1014.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1014.ASSP - SnapShot",
    "label": "L1014.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1025.ASPV - SnapShot",
    "label": "F1025.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1025.ASOP - SnapShot",
    "label": "F1025.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1025.ASSP - SnapShot",
    "label": "F1025.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1015.ASPV - SnapShot",
    "label": "L1015.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1015.ASOP - SnapShot",
    "label": "L1015.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1015.ASSP - SnapShot",
    "label": "L1015.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1049.ASPV - SnapShot",
    "label": "P1049.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1049.ASOP - SnapShot",
    "label": "P1049.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1049.ASSP - SnapShot",
    "label": "P1049.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1042.ASPV - SnapShot",
    "label": "P1042.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1042.ASOP - SnapShot",
    "label": "P1042.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1042.ASSP - SnapShot",
    "label": "P1042.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1054.ASPV - SnapShot",
    "label": "P1054.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1054.ASOP - SnapShot",
    "label": "P1054.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1054.ASSP - SnapShot",
    "label": "P1054.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "PD1056.ASPV - SnapShot",
    "label": "PD1056.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "PD1056.ASOP - SnapShot",
    "label": "PD1056.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "PD1056.ASSP - SnapShot",
    "label": "PD1056.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1017.ASPV - SnapShot",
    "label": "L1017.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1017.ASOP - SnapShot",
    "label": "L1017.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1017.ASSP - SnapShot",
    "label": "L1017.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1030.ASPV - SnapShot",
    "label": "F1030.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1030.ASOP - SnapShot",
    "label": "F1030.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1030.ASSP - SnapShot",
    "label": "F1030.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1031.ASPV - SnapShot",
    "label": "F1031.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1031.ASOP - SnapShot",
    "label": "F1031.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1031.ASSP - SnapShot",
    "label": "F1031.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1065.ASPV - SnapShot",
    "label": "T1065.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1065.ASOP - SnapShot",
    "label": "T1065.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1065.ASSP - SnapShot",
    "label": "T1065.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1029.ASPV - SnapShot",
    "label": "F1029.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1029.ASOP - SnapShot",
    "label": "F1029.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1029.ASSP - SnapShot",
    "label": "F1029.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1067.PV - SnapShot",
    "label": "T1067.PV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1026.PV - SnapShot",
    "label": "F1026.PV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F2021.ASPV - SnapShot",
    "label": "F2021.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F2021.ASOP - SnapShot",
    "label": "F2021.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F2021.ASSP - SnapShot",
    "label": "F2021.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1021.ASPV - SnapShot",
    "label": "F1021.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1021.ASOP - SnapShot",
    "label": "F1021.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1021.ASSP - SnapShot",
    "label": "F1021.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1048.ASPV - SnapShot",
    "label": "F1048.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1048.ASOP - SnapShot",
    "label": "F1048.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1048.ASSP - SnapShot",
    "label": "F1048.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "_noname_",
    "label": "_noname_",
    "type": "string",
    "format": null,
    "is_derived": false
    }
    ]
    }
    },
    {
    "backend": "csv",
    "id": "t-original",
    "filename": "t.csv",
    "path": "original.csv",
    "schema": {
    "fields": [
    {
    "id": "Timestamp",
    "label": "Timestamp",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1013.ASPV - SnapShot",
    "label": "L1013.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1013.ASOP - SnapShot",
    "label": "L1013.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1013.ASSP - SnapShot",
    "label": "L1013.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1023.ASPV - SnapShot",
    "label": "F1023.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1023.ASOP - SnapShot",
    "label": "F1023.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1023.ASSP - SnapShot",
    "label": "F1023.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1057.ASPV - SnapShot",
    "label": "T1057.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1057.ASOP - SnapShot",
    "label": "T1057.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1057.ASSP - SnapShot",
    "label": "T1057.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1024.ASPV - SnapShot",
    "label": "F1024.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1024.ASOP - SnapShot",
    "label": "F1024.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1024.ASSP - SnapShot",
    "label": "F1024.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1014.ASPV - SnapShot",
    "label": "L1014.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1014.ASOP - SnapShot",
    "label": "L1014.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1014.ASSP - SnapShot",
    "label": "L1014.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1025.ASPV - SnapShot",
    "label": "F1025.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1025.ASOP - SnapShot",
    "label": "F1025.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1025.ASSP - SnapShot",
    "label": "F1025.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1015.ASPV - SnapShot",
    "label": "L1015.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1015.ASOP - SnapShot",
    "label": "L1015.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1015.ASSP - SnapShot",
    "label": "L1015.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1049.ASPV - SnapShot",
    "label": "P1049.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1049.ASOP - SnapShot",
    "label": "P1049.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1049.ASSP - SnapShot",
    "label": "P1049.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1042.ASPV - SnapShot",
    "label": "P1042.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1042.ASOP - SnapShot",
    "label": "P1042.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1042.ASSP - SnapShot",
    "label": "P1042.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1054.ASPV - SnapShot",
    "label": "P1054.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1054.ASOP - SnapShot",
    "label": "P1054.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "P1054.ASSP - SnapShot",
    "label": "P1054.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "PD1056.ASPV - SnapShot",
    "label": "PD1056.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "PD1056.ASOP - SnapShot",
    "label": "PD1056.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "PD1056.ASSP - SnapShot",
    "label": "PD1056.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1017.ASPV - SnapShot",
    "label": "L1017.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1017.ASOP - SnapShot",
    "label": "L1017.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "L1017.ASSP - SnapShot",
    "label": "L1017.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1030.ASPV - SnapShot",
    "label": "F1030.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1030.ASOP - SnapShot",
    "label": "F1030.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1030.ASSP - SnapShot",
    "label": "F1030.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1031.ASPV - SnapShot",
    "label": "F1031.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1031.ASOP - SnapShot",
    "label": "F1031.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1031.ASSP - SnapShot",
    "label": "F1031.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1065.ASPV - SnapShot",
    "label": "T1065.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1065.ASOP - SnapShot",
    "label": "T1065.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1065.ASSP - SnapShot",
    "label": "T1065.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1029.ASPV - SnapShot",
    "label": "F1029.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1029.ASOP - SnapShot",
    "label": "F1029.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1029.ASSP - SnapShot",
    "label": "F1029.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "T1067.PV - SnapShot",
    "label": "T1067.PV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1026.PV - SnapShot",
    "label": "F1026.PV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F2021.ASPV - SnapShot",
    "label": "F2021.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F2021.ASOP - SnapShot",
    "label": "F2021.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F2021.ASSP - SnapShot",
    "label": "F2021.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1021.ASPV - SnapShot",
    "label": "F1021.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1021.ASOP - SnapShot",
    "label": "F1021.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1021.ASSP - SnapShot",
    "label": "F1021.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1048.ASPV - SnapShot",
    "label": "F1048.ASPV - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1048.ASOP - SnapShot",
    "label": "F1048.ASOP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "F1048.ASSP - SnapShot",
    "label": "F1048.ASSP - SnapShot",
    "type": "string",
    "format": null,
    "is_derived": false
    },
    {
    "id": "_noname_",
    "label": "_noname_",
    "type": "string",
    "format": null,
    "is_derived": false
    }
    ]
    }
    }
    ]
    }
    5 changes: 5 additions & 0 deletions main.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    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);
    });
    1,000 changes: 1,000 additions & 0 deletions original.csv
    1,000 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.