From faf4ff882ff0ebd709f25ecb363d418c2f955b9a Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Thu, 10 May 2012 15:55:01 +0100 Subject: put example dashboard data in json file --- data/dashboard.json | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 data/dashboard.json (limited to 'data') diff --git a/data/dashboard.json b/data/dashboard.json new file mode 100644 index 000000000..008c92388 --- /dev/null +++ b/data/dashboard.json @@ -0,0 +1,175 @@ +{ + "counts": { + "wtd": { + "total": 10, + "planned": 2, + "in progress": 1, + "investigating": 1, + "fixed - council": 3, + "fixed_user": 2, + "time_to_fix": 2, + "time_to_mark": 2, + "not_marked": 1 + }, + "week": { + "total": 21, + "planned": 5, + "in progress": 3, + "investigating": 4, + "fixed - council": 6, + "fixed_user": 3, + "time_to_fix": 3, + "time_to_mark": 2, + "not_marked": 1 + }, + "weeks": { + "total": 57, + "planned": 5, + "in progress": 16, + "investigating": 4, + "fixed - council": 23, + "fixed_user": 9, + "time_to_fix": 2, + "time_to_mark": 2, + "not_marked": 1 + }, + "ytd": { + "total": 171, + "planned": 23, + "in progress": 34, + "investigating": 9, + "fixed - council": 72, + "fixed_user": 33, + "time_to_fix": 2, + "time_to_mark": 2, + "not_marked": 1 + } + }, + "lists": { + "all": { + "1": [ + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Fly tipping" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Abandoned car" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Uneven paving" } + ], + "2": [ + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Fly tipping" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Uneven paving" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Abandoned car" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Blocked drain" } + ], + "3": [ + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Fly tipping" }, + { "id": 0, "title": "Uneven paving" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Abandoned car" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Fly tipping" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Abandoned car" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Uneven paving" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Pothole" } + ] + }, + "filtered": { + "1": [ + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Abandoned car" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Uneven paving" } + ], + "2": [ + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Fly tipping" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Fly tipping" }, + { "id": 0, "title": "Abandoned car" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Uneven paving" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Pothole" } + ], + "3": [ + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Uneven paving" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Loose kerb" }, + { "id": 0, "title": "Abandoned car" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Fallen Tree" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Fly tipping" }, + { "id": 0, "title": "Burst pipe" }, + { "id": 0, "title": "Abandoned car" }, + { "id": 0, "title": "Pothole" }, + { "id": 0, "title": "Uneven paving" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Blocked drain" }, + { "id": 0, "title": "Pothole" } + ] + } + } +} -- cgit v1.2.3