{"action":"opened","number":1345,"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/1345","id":43035408,"html_url":"https://github.com/ramda/ramda/pull/1345","diff_url":"https://github.com/ramda/ramda/pull/1345.diff","patch_url":"https://github.com/ramda/ramda/pull/1345.patch","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1345","number":1345,"state":"open","locked":false,"title":"Added feature pickValues","user":{"login":"cullophid","id":1183585,"avatar_url":"https://avatars.githubusercontent.com/u/1183585?v=3","gravatar_id":"","url":"https://api.github.com/users/cullophid","html_url":"https://github.com/cullophid","followers_url":"https://api.github.com/users/cullophid/followers","following_url":"https://api.github.com/users/cullophid/following{/other_user}","gists_url":"https://api.github.com/users/cullophid/gists{/gist_id}","starred_url":"https://api.github.com/users/cullophid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cullophid/subscriptions","organizations_url":"https://api.github.com/users/cullophid/orgs","repos_url":"https://api.github.com/users/cullophid/repos","events_url":"https://api.github.com/users/cullophid/events{/privacy}","received_events_url":"https://api.github.com/users/cullophid/received_events","type":"User","site_admin":false},"body":"works like pick, but returns the values as an Array\r\n\r\npickValues is similar to compose(values, pick([...])\r\nbut ensures that values are returned in the correct order on all platforms.\r\n\r\nI have used the function quite alot.\r\nE.g Google charts expect data as a set of touples: [x, y].\r\npickValues makes this very easy:\r\n\r\n```\r\n// data [ {time: '2015-01-01', revenue: 5, ...}, ... ]\r\nvar prepareDataForChart = R.map(R.pickValues(['time', 'revenue']))\r\n\r\nprepareDataForChart(data);\r\n// => [ ['2015-01-10', 5], ... ]\r\n```\r\n","created_at":"2015-08-21T13:04:19Z","updated_at":"2015-08-21T13:04:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"658264152c875b39f8c1de034e5b977680f0bb3e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ramda/ramda/pulls/1345/commits","review_comments_url":"https://api.github.com/repos/ramda/ramda/pulls/1345/comments","review_comment_url":"https://api.github.com/repos/ramda/ramda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1345/comments","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/e48ded045a914261d4b2e2a7ca0204a667f59353","head":{"label":"cullophid:master","ref":"master","sha":"e48ded045a914261d4b2e2a7ca0204a667f59353","user":{"login":"cullophid","id":1183585,"avatar_url":"https://avatars.githubusercontent.com/u/1183585?v=3","gravatar_id":"","url":"https://api.github.com/users/cullophid","html_url":"https://github.com/cullophid","followers_url":"https://api.github.com/users/cullophid/followers","following_url":"https://api.github.com/users/cullophid/following{/other_user}","gists_url":"https://api.github.com/users/cullophid/gists{/gist_id}","starred_url":"https://api.github.com/users/cullophid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cullophid/subscriptions","organizations_url":"https://api.github.com/users/cullophid/orgs","repos_url":"https://api.github.com/users/cullophid/repos","events_url":"https://api.github.com/users/cullophid/events{/privacy}","received_events_url":"https://api.github.com/users/cullophid/received_events","type":"User","site_admin":false},"repo":{"id":41154506,"name":"ramda","full_name":"cullophid/ramda","owner":{"login":"cullophid","id":1183585,"avatar_url":"https://avatars.githubusercontent.com/u/1183585?v=3","gravatar_id":"","url":"https://api.github.com/users/cullophid","html_url":"https://github.com/cullophid","followers_url":"https://api.github.com/users/cullophid/followers","following_url":"https://api.github.com/users/cullophid/following{/other_user}","gists_url":"https://api.github.com/users/cullophid/gists{/gist_id}","starred_url":"https://api.github.com/users/cullophid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cullophid/subscriptions","organizations_url":"https://api.github.com/users/cullophid/orgs","repos_url":"https://api.github.com/users/cullophid/repos","events_url":"https://api.github.com/users/cullophid/events{/privacy}","received_events_url":"https://api.github.com/users/cullophid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cullophid/ramda","description":":ram: Practical functional Javascript","fork":true,"url":"https://api.github.com/repos/cullophid/ramda","forks_url":"https://api.github.com/repos/cullophid/ramda/forks","keys_url":"https://api.github.com/repos/cullophid/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cullophid/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cullophid/ramda/teams","hooks_url":"https://api.github.com/repos/cullophid/ramda/hooks","issue_events_url":"https://api.github.com/repos/cullophid/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/cullophid/ramda/events","assignees_url":"https://api.github.com/repos/cullophid/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/cullophid/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/cullophid/ramda/tags","blobs_url":"https://api.github.com/repos/cullophid/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cullophid/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cullophid/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/cullophid/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cullophid/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/cullophid/ramda/languages","stargazers_url":"https://api.github.com/repos/cullophid/ramda/stargazers","contributors_url":"https://api.github.com/repos/cullophid/ramda/contributors","subscribers_url":"https://api.github.com/repos/cullophid/ramda/subscribers","subscription_url":"https://api.github.com/repos/cullophid/ramda/subscription","commits_url":"https://api.github.com/repos/cullophid/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/cullophid/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/cullophid/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/cullophid/ramda/issues/comments{/number}","contents_url":"https://api.github.com/repos/cullophid/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/cullophid/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cullophid/ramda/merges","archive_url":"https://api.github.com/repos/cullophid/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cullophid/ramda/downloads","issues_url":"https://api.github.com/repos/cullophid/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/cullophid/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/cullophid/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/cullophid/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cullophid/ramda/labels{/name}","releases_url":"https://api.github.com/repos/cullophid/ramda/releases{/id}","created_at":"2015-08-21T12:28:29Z","updated_at":"2015-08-21T12:28:30Z","pushed_at":"2015-08-21T12:52:11Z","git_url":"git://github.com/cullophid/ramda.git","ssh_url":"git@github.com:cullophid/ramda.git","clone_url":"https://github.com/cullophid/ramda.git","svn_url":"https://github.com/cullophid/ramda","homepage":"http://ramdajs.com","size":11154,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ramda:master","ref":"master","sha":"a9da324987e75178d1bf3b91dae44e09c84ccb19","user":{"login":"ramda","id":5298359,"avatar_url":"https://avatars.githubusercontent.com/u/5298359?v=3","gravatar_id":"","url":"https://api.github.com/users/ramda","html_url":"https://github.com/ramda","followers_url":"https://api.github.com/users/ramda/followers","following_url":"https://api.github.com/users/ramda/following{/other_user}","gists_url":"https://api.github.com/users/ramda/gists{/gist_id}","starred_url":"https://api.github.com/users/ramda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramda/subscriptions","organizations_url":"https://api.github.com/users/ramda/orgs","repos_url":"https://api.github.com/users/ramda/repos","events_url":"https://api.github.com/users/ramda/events{/privacy}","received_events_url":"https://api.github.com/users/ramda/received_events","type":"Organization","site_admin":false},"repo":{"id":10851820,"name":"ramda","full_name":"ramda/ramda","owner":{"login":"ramda","id":5298359,"avatar_url":"https://avatars.githubusercontent.com/u/5298359?v=3","gravatar_id":"","url":"https://api.github.com/users/ramda","html_url":"https://github.com/ramda","followers_url":"https://api.github.com/users/ramda/followers","following_url":"https://api.github.com/users/ramda/following{/other_user}","gists_url":"https://api.github.com/users/ramda/gists{/gist_id}","starred_url":"https://api.github.com/users/ramda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramda/subscriptions","organizations_url":"https://api.github.com/users/ramda/orgs","repos_url":"https://api.github.com/users/ramda/repos","events_url":"https://api.github.com/users/ramda/events{/privacy}","received_events_url":"https://api.github.com/users/ramda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ramda/ramda","description":":ram: Practical functional Javascript","fork":false,"url":"https://api.github.com/repos/ramda/ramda","forks_url":"https://api.github.com/repos/ramda/ramda/forks","keys_url":"https://api.github.com/repos/ramda/ramda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ramda/ramda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ramda/ramda/teams","hooks_url":"https://api.github.com/repos/ramda/ramda/hooks","issue_events_url":"https://api.github.com/repos/ramda/ramda/issues/events{/number}","events_url":"https://api.github.com/repos/ramda/ramda/events","assignees_url":"https://api.github.com/repos/ramda/ramda/assignees{/user}","branches_url":"https://api.github.com/repos/ramda/ramda/branches{/branch}","tags_url":"https://api.github.com/repos/ramda/ramda/tags","blobs_url":"https://api.github.com/repos/ramda/ramda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ramda/ramda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ramda/ramda/git/refs{/sha}","trees_url":"https://api.github.com/repos/ramda/ramda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ramda/ramda/statuses/{sha}","languages_url":"https://api.github.com/repos/ramda/ramda/languages","stargazers_url":"https://api.github.com/repos/ramda/ramda/stargazers","contributors_url":"https://api.github.com/repos/ramda/ramda/contributors","subscribers_url":"https://api.github.com/repos/ramda/ramda/subscribers","subscription_url":"https://api.github.com/repos/ramda/ramda/subscription","commits_url":"https://api.github.com/repos/ramda/ramda/commits{/sha}","git_commits_url":"https://api.github.com/repos/ramda/ramda/git/commits{/sha}","comments_url":"https://api.github.com/repos/ramda/ramda/comments{/number}","issue_comment_url":"https://api.github.com/repos/ramda/ramda/issues/comments{/number}","contents_url":"https://api.github.com/repos/ramda/ramda/contents/{+path}","compare_url":"https://api.github.com/repos/ramda/ramda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ramda/ramda/merges","archive_url":"https://api.github.com/repos/ramda/ramda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ramda/ramda/downloads","issues_url":"https://api.github.com/repos/ramda/ramda/issues{/number}","pulls_url":"https://api.github.com/repos/ramda/ramda/pulls{/number}","milestones_url":"https://api.github.com/repos/ramda/ramda/milestones{/number}","notifications_url":"https://api.github.com/repos/ramda/ramda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ramda/ramda/labels{/name}","releases_url":"https://api.github.com/repos/ramda/ramda/releases{/id}","created_at":"2013-06-21T20:32:35Z","updated_at":"2015-08-21T07:23:55Z","pushed_at":"2015-08-21T13:04:19Z","git_url":"git://github.com/ramda/ramda.git","ssh_url":"git@github.com:ramda/ramda.git","clone_url":"https://github.com/ramda/ramda.git","svn_url":"https://github.com/ramda/ramda","homepage":"http://ramdajs.com","size":11154,"stargazers_count":2595,"watchers_count":2595,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":197,"mirror_url":null,"open_issues_count":68,"forks":197,"open_issues":68,"watchers":2595,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1345"},"html":{"href":"https://github.com/ramda/ramda/pull/1345"},"issue":{"href":"https://api.github.com/repos/ramda/ramda/issues/1345"},"comments":{"href":"https://api.github.com/repos/ramda/ramda/issues/1345/comments"},"review_comments":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1345/comments"},"review_comment":{"href":"https://api.github.com/repos/ramda/ramda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ramda/ramda/pulls/1345/commits"},"statuses":{"href":"https://api.github.com/repos/ramda/ramda/statuses/e48ded045a914261d4b2e2a7ca0204a667f59353"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":64,"deletions":0,"changed_files":2}}