{"action":"opened","issue":{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/283","repository_url":"https://api.github.com/repos/jodeleeuw/jsPsych","labels_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/283/comments","events_url":"https://api.github.com/repos/jodeleeuw/jsPsych/issues/283/events","html_url":"https://github.com/jodeleeuw/jsPsych/issues/283","id":171264038,"number":283,"title":"Add filters to .getData()","user":{"login":"jodeleeuw","id":595524,"avatar_url":"https://avatars.githubusercontent.com/u/595524?v=3","gravatar_id":"","url":"https://api.github.com/users/jodeleeuw","html_url":"https://github.com/jodeleeuw","followers_url":"https://api.github.com/users/jodeleeuw/followers","following_url":"https://api.github.com/users/jodeleeuw/following{/other_user}","gists_url":"https://api.github.com/users/jodeleeuw/gists{/gist_id}","starred_url":"https://api.github.com/users/jodeleeuw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodeleeuw/subscriptions","organizations_url":"https://api.github.com/users/jodeleeuw/orgs","repos_url":"https://api.github.com/users/jodeleeuw/repos","events_url":"https://api.github.com/users/jodeleeuw/events{/privacy}","received_events_url":"https://api.github.com/users/jodeleeuw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/labels/core","name":"core","color":"006b75"},{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/labels/documentation","name":"documentation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jodeleeuw/jsPsych/milestones/9","html_url":"https://github.com/jodeleeuw/jsPsych/milestones/6.0","labels_url":"https://api.github.com/repos/jodeleeuw/jsPsych/milestones/9/labels","id":1508976,"number":9,"title":"6.0","description":"","creator":{"login":"jodeleeuw","id":595524,"avatar_url":"https://avatars.githubusercontent.com/u/595524?v=3","gravatar_id":"","url":"https://api.github.com/users/jodeleeuw","html_url":"https://github.com/jodeleeuw","followers_url":"https://api.github.com/users/jodeleeuw/followers","following_url":"https://api.github.com/users/jodeleeuw/following{/other_user}","gists_url":"https://api.github.com/users/jodeleeuw/gists{/gist_id}","starred_url":"https://api.github.com/users/jodeleeuw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodeleeuw/subscriptions","organizations_url":"https://api.github.com/users/jodeleeuw/orgs","repos_url":"https://api.github.com/users/jodeleeuw/repos","events_url":"https://api.github.com/users/jodeleeuw/events{/privacy}","received_events_url":"https://api.github.com/users/jodeleeuw/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":35,"state":"open","created_at":"2016-01-15T14:00:17Z","updated_at":"2016-08-15T21:17:08Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-15T21:17:08Z","updated_at":"2016-08-15T21:17:08Z","closed_at":null,"body":"Allow generic filters to getData.\r\n\r\nExamples:\r\n```javascript\r\n// select all trials\r\njsPsych.data.getData();\r\n\r\n// select all single-stim trials\r\njsPsych.data.getData({trial_type: 'single-stim'});\r\n\r\n// select all single-stim trials where key_press == 81\r\njsPsych.data.getData({trial_type: 'single-stim', key_press: 81});\r\n\r\n// select trials where trial_type is either single-stim or single-audio.\r\njsPsych.data.getData({trial_type: 'single-stim'}, {trial_type: 'single-audio'});\r\n```"}}
{"actor":{"display_login":"jodeleeuw"}}