{"action":"created","issue":{"url":"https://api.github.com/repos/keeps/roda/issues/536","repository_url":"https://api.github.com/repos/keeps/roda","labels_url":"https://api.github.com/repos/keeps/roda/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/keeps/roda/issues/536/comments","events_url":"https://api.github.com/repos/keeps/roda/issues/536/events","html_url":"https://github.com/keeps/roda/issues/536","id":177178003,"number":536,"title":"Statistics export CSV functionality","user":{"login":"luis100","id":631728,"avatar_url":"https://avatars.githubusercontent.com/u/631728?v=3","gravatar_id":"","url":"https://api.github.com/users/luis100","html_url":"https://github.com/luis100","followers_url":"https://api.github.com/users/luis100/followers","following_url":"https://api.github.com/users/luis100/following{/other_user}","gists_url":"https://api.github.com/users/luis100/gists{/gist_id}","starred_url":"https://api.github.com/users/luis100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luis100/subscriptions","organizations_url":"https://api.github.com/users/luis100/orgs","repos_url":"https://api.github.com/users/luis100/repos","events_url":"https://api.github.com/users/luis100/events{/privacy}","received_events_url":"https://api.github.com/users/luis100/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/keeps/roda/labels/feature%20request","name":"feature request","color":"009800"},{"url":"https://api.github.com/repos/keeps/roda/labels/outsourcing","name":"outsourcing","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"rui-castro","id":4218366,"avatar_url":"https://avatars.githubusercontent.com/u/4218366?v=3","gravatar_id":"","url":"https://api.github.com/users/rui-castro","html_url":"https://github.com/rui-castro","followers_url":"https://api.github.com/users/rui-castro/followers","following_url":"https://api.github.com/users/rui-castro/following{/other_user}","gists_url":"https://api.github.com/users/rui-castro/gists{/gist_id}","starred_url":"https://api.github.com/users/rui-castro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rui-castro/subscriptions","organizations_url":"https://api.github.com/users/rui-castro/orgs","repos_url":"https://api.github.com/users/rui-castro/repos","events_url":"https://api.github.com/users/rui-castro/events{/privacy}","received_events_url":"https://api.github.com/users/rui-castro/received_events","type":"User","site_admin":false},"assignees":[{"login":"rui-castro","id":4218366,"avatar_url":"https://avatars.githubusercontent.com/u/4218366?v=3","gravatar_id":"","url":"https://api.github.com/users/rui-castro","html_url":"https://github.com/rui-castro","followers_url":"https://api.github.com/users/rui-castro/followers","following_url":"https://api.github.com/users/rui-castro/following{/other_user}","gists_url":"https://api.github.com/users/rui-castro/gists{/gist_id}","starred_url":"https://api.github.com/users/rui-castro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rui-castro/subscriptions","organizations_url":"https://api.github.com/users/rui-castro/orgs","repos_url":"https://api.github.com/users/rui-castro/repos","events_url":"https://api.github.com/users/rui-castro/events{/privacy}","received_events_url":"https://api.github.com/users/rui-castro/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/keeps/roda/milestones/23","html_url":"https://github.com/keeps/roda/milestones/2.0.0-alpha14","labels_url":"https://api.github.com/repos/keeps/roda/milestones/23/labels","id":1985893,"number":23,"title":"2.0.0-alpha14","description":"","creator":{"login":"jmaferreira","id":3181302,"avatar_url":"https://avatars.githubusercontent.com/u/3181302?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaferreira","html_url":"https://github.com/jmaferreira","followers_url":"https://api.github.com/users/jmaferreira/followers","following_url":"https://api.github.com/users/jmaferreira/following{/other_user}","gists_url":"https://api.github.com/users/jmaferreira/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaferreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaferreira/subscriptions","organizations_url":"https://api.github.com/users/jmaferreira/orgs","repos_url":"https://api.github.com/users/jmaferreira/repos","events_url":"https://api.github.com/users/jmaferreira/events{/privacy}","received_events_url":"https://api.github.com/users/jmaferreira/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":45,"state":"open","created_at":"2016-09-06T11:02:40Z","updated_at":"2016-09-22T15:20:43Z","due_on":"2016-09-23T00:00:00Z","closed_at":null},"comments":7,"created_at":"2016-09-15T13:34:46Z","updated_at":"2016-09-22T16:38:46Z","closed_at":null,"body":"Depends on #319\r\n\r\nExtend statistics jquery plugin to allow a new view to create the export button.\r\n\r\nThe definition of the query can be via normal `data-` attributes or via a new attribute that can reference another element by id, where to get the `data-` attributes.\r\n\r\n```html\r\n<div class=\"col_8 chart_col_card\">\r\n\t<h4>Distribution of description levels (top 10)</h4>\r\n\t<canvas id=\"stat-desc-levels\" class=\"statistic\" data-source=\"index\" \r\n                data-source-class=\"org.roda.core.data.v2.ip.IndexedAIP\" \r\n                data-source-facets=\"level\" data-view=\"chart\" \r\n                data-view-field=\"facetResults\" data-view-type=\"pie\" \r\n                data-view-limit=\"10\"></canvas>\r\n\t<span class=\"statistic\" data-view=\"download\" data-ref=\"stat-desc-levels\">\r\n\t\t<i class=\"fa fa-download\" aria-hidden=\"true\"></i>\r\n\t</span>\r\n</div>\r\n```"},"comment":{"url":"https://api.github.com/repos/keeps/roda/issues/comments/248958345","html_url":"https://github.com/keeps/roda/issues/536#issuecomment-248958345","issue_url":"https://api.github.com/repos/keeps/roda/issues/536","id":248958345,"user":{"login":"rui-castro","id":4218366,"avatar_url":"https://avatars.githubusercontent.com/u/4218366?v=3","gravatar_id":"","url":"https://api.github.com/users/rui-castro","html_url":"https://github.com/rui-castro","followers_url":"https://api.github.com/users/rui-castro/followers","following_url":"https://api.github.com/users/rui-castro/following{/other_user}","gists_url":"https://api.github.com/users/rui-castro/gists{/gist_id}","starred_url":"https://api.github.com/users/rui-castro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rui-castro/subscriptions","organizations_url":"https://api.github.com/users/rui-castro/orgs","repos_url":"https://api.github.com/users/rui-castro/repos","events_url":"https://api.github.com/users/rui-castro/events{/privacy}","received_events_url":"https://api.github.com/users/rui-castro/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T16:38:46Z","updated_at":"2016-09-22T16:38:46Z","body":"@luis100 @hsilva-keep @jmaferreira since we will have 2 different outputs in CSV (results and facets), should we have 2 different URLs or just 1?\r\n\r\n1. Single URL\r\n * results - http://127.0.0.1:8888/api/v1/index?... (without facet params)\r\n * facet - http://127.0.0.1:8888/api/v1/index?... (with facet params)\r\n\r\n2. Two URLs\r\n * results - http://127.0.0.1:8888/api/v1/index?...\r\n * facets - http://127.0.0.1:8888/api/v1/index/facets?...\r\n"}}
{"actor":{"display_login":"rui-castro"}}