{"action":"closed","issue":{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/313","repository_url":"https://api.github.com/repos/jodeleeuw/jsPsych","labels_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/313/comments","events_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/313/events","html_url":"https://github.com/jodeleeuw/jsPsych/issues/313","id":197765264,"number":313,"title":"Record indices of survey responses?","user":{"login":"goldpbear","id":9222338,"avatar_url":"https://avatars.githubusercontent.com/u/9222338?v=3","gravatar_id":"","url":"https://api.github.com/users/goldpbear","html_url":"https://github.com/goldpbear","followers_url":"https://api.github.com/users/goldpbear/followers","following_url":"https://api.github.com/users/goldpbear/following{/other_user}","gists_url":"https://api.github.com/users/goldpbear/gists{/gist_id}","starred_url":"https://api.github.com/users/goldpbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldpbear/subscriptions","organizations_url":"https://api.github.com/users/goldpbear/orgs","repos_url":"https://api.github.com/users/goldpbear/repos","events_url":"https://api.github.com/users/goldpbear/events{/privacy}","received_events_url":"https://api.github.com/users/goldpbear/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-27T22:17:52Z","updated_at":"2016-12-30T03:18:22Z","closed_at":"2016-12-30T03:18:22Z","body":"Hi-- Thanks for your work on jsPsych. I've been using the framework to implement a survey recently, and it's made things very easy.\r\n\r\nI have a question: I'm using the `jspsych-survey-multi-choice` plugin for our survey, and as far as I can tell, the plugin will only record survey responses using the full text of the chosen response. Is this the case?\r\n\r\nIf so, I think the option to record response indices rather than actual response text would be convenient. We're translating our survey into several languages, which means that recording raw response text in our database isn't practical. Plus, some of our response text is lengthy, so recording indices cuts down on storage size a bit.\r\n\r\nI implemented a version of the plugin that records indices instead of response text. I'd be happy to clean it up and submit a PR if it's of interest.\r\n\r\nThanks!"}}
{"actor":{"display_login":"jodeleeuw"}}