{"action":"created","issue":{"url":"https://api.github.com/repos/govCMS/govCMS/issues/146","repository_url":"https://api.github.com/repos/govCMS/govCMS","labels_url":"https://api.github.com/repos/govCMS/govCMS/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/govCMS/govCMS/issues/146/comments","events_url":"https://api.github.com/repos/govCMS/govCMS/issues/146/events","html_url":"https://github.com/govCMS/govCMS/issues/146","id":128432001,"number":146,"title":"As a content editor I want to embed data from data.gov.au in a visual format so that my audience can more easily understand findings","user":{"login":"srowlands","id":1256274,"avatar_url":"https://avatars.githubusercontent.com/u/1256274?v=3","gravatar_id":"","url":"https://api.github.com/users/srowlands","html_url":"https://github.com/srowlands","followers_url":"https://api.github.com/users/srowlands/followers","following_url":"https://api.github.com/users/srowlands/following{/other_user}","gists_url":"https://api.github.com/users/srowlands/gists{/gist_id}","starred_url":"https://api.github.com/users/srowlands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowlands/subscriptions","organizations_url":"https://api.github.com/users/srowlands/orgs","repos_url":"https://api.github.com/users/srowlands/repos","events_url":"https://api.github.com/users/srowlands/events{/privacy}","received_events_url":"https://api.github.com/users/srowlands/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/govCMS/govCMS/labels/security","name":"security","color":"e11d21"},{"url":"https://api.github.com/repos/govCMS/govCMS/labels/tech-vetted","name":"tech-vetted","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-01-24T23:08:29Z","updated_at":"2016-03-22T04:23:34Z","closed_at":null,"body":"We wish to build a data.gov.au bridge as a custom module, to help provide a simple 'click button' approach to embedding datasets as tables, graphs and maps within govCMS.\r\n\r\nThe idea is that datasets stored on data.gov.au (or more generally, _any_ CKAN service) can be easily referenced, annotated with local metadata, and displayed as a graph, map, or table.\r\n\r\nGeneral:\r\n- Allow authenticated access to any CKAN API\r\n- Local, configurable caching of datasets\r\n- Fieldable entities to allow for localised metadata and extension\r\n- Indexed and searchable entities\r\n\r\nGraphing:\r\n- Using d3js, flexible visualisation library\r\n- Configurable colours for visualisation display\r\n- Types:\r\n-- Bar (horizontal / vertical variants)\r\n-- Stacked bar (horizontal / vertical variants)\r\n-- Line\r\n-- Stacked area\r\n-- Box plot (horizontal / vertical variants)\r\n-- Pie\r\n\r\nTabular data display:\r\n- Sortable columns\r\n- Responsive display\r\n- Searchable/filterable dataset\r\n\r\n*note*: mapping capabilities are on the roadmap but the functional spec has not yet been scoped.\r\n\r\nEmbed:\r\n- WYSIWYG plugin to allow easy embed and display within any filtered content\r\n\r\nThe above functionality is what we're aiming for as a MVP, but the module would be built to be as flexible and extensible as possible. Ideally this would allow for further graph types and display enhancements down the line."},"comment":{"url":"https://api.github.com/repos/govCMS/govCMS/issues/comments/199632028","html_url":"https://github.com/govCMS/govCMS/issues/146#issuecomment-199632028","issue_url":"https://api.github.com/repos/govCMS/govCMS/issues/146","id":199632028,"user":{"login":"Starl3n","id":9473120,"avatar_url":"https://avatars.githubusercontent.com/u/9473120?v=3","gravatar_id":"","url":"https://api.github.com/users/Starl3n","html_url":"https://github.com/Starl3n","followers_url":"https://api.github.com/users/Starl3n/followers","following_url":"https://api.github.com/users/Starl3n/following{/other_user}","gists_url":"https://api.github.com/users/Starl3n/gists{/gist_id}","starred_url":"https://api.github.com/users/Starl3n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Starl3n/subscriptions","organizations_url":"https://api.github.com/users/Starl3n/orgs","repos_url":"https://api.github.com/users/Starl3n/repos","events_url":"https://api.github.com/users/Starl3n/events{/privacy}","received_events_url":"https://api.github.com/users/Starl3n/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T04:23:34Z","updated_at":"2016-03-22T04:23:34Z","body":"What data are you trying to embed? The embed code can already be found on data.gov.au against each resource view...\r\n\r\nSuch as \r\n<iframe width=\"700\" height=\"400\" src=\"http://data.gov.au/dataset/business-non-business-personal-insolvency-statistics/resource/932db4f8-be84-43a8-ad5a-86c17f62a185/view/b5b92eed-fff9-4a7c-876e-e131fe91b407\" frameBorder=\"0\"></iframe>"}}