{"action":"closed","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/187","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/187/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/187/events","html_url":"https://github.com/everypolitician/everypolitician-data/issues/187","id":83400702,"number":187,"title":"Rake task to build the per-term CSVs","user":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-01T09:15:21Z","updated_at":"2015-06-19T12:37:24Z","closed_at":"2015-06-19T12:37:24Z","body":"Rather than generating these in https://github.com/everypolitician/viewer-sinatra, make it part of the build task here, so that we output (and store in Github) JSON _and_ CSV files. \r\n\r\nThis is static raw data, not display information, and so should be stored as such, checked-in, available over the CDN, etc. \r\n\r\n(The logic for the term-table display could probably also then be simplified to use the CSV rather than the full JSON)"}}