{"action":"opened","number":1766,"pull_request":{"url":"https://api.github.com/repos/hadley/dplyr/pulls/1766","id":65889284,"html_url":"https://github.com/hadley/dplyr/pull/1766","diff_url":"https://github.com/hadley/dplyr/pull/1766.diff","patch_url":"https://github.com/hadley/dplyr/pull/1766.patch","issue_url":"https://api.github.com/repos/hadley/dplyr/issues/1766","number":1766,"state":"open","locked":false,"title":"Update rank.R","user":{"login":"thelostscientist","id":9543653,"avatar_url":"https://avatars.githubusercontent.com/u/9543653?v=3","gravatar_id":"","url":"https://api.github.com/users/thelostscientist","html_url":"https://github.com/thelostscientist","followers_url":"https://api.github.com/users/thelostscientist/followers","following_url":"https://api.github.com/users/thelostscientist/following{/other_user}","gists_url":"https://api.github.com/users/thelostscientist/gists{/gist_id}","starred_url":"https://api.github.com/users/thelostscientist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelostscientist/subscriptions","organizations_url":"https://api.github.com/users/thelostscientist/orgs","repos_url":"https://api.github.com/users/thelostscientist/repos","events_url":"https://api.github.com/users/thelostscientist/events{/privacy}","received_events_url":"https://api.github.com/users/thelostscientist/received_events","type":"User","site_admin":false},"body":"The function mentioned in the msdn blog does a sort before the split.","created_at":"2016-04-09T18:59:52Z","updated_at":"2016-04-09T18:59:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hadley/dplyr/pulls/1766/commits","review_comments_url":"https://api.github.com/repos/hadley/dplyr/pulls/1766/comments","review_comment_url":"https://api.github.com/repos/hadley/dplyr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hadley/dplyr/issues/1766/comments","statuses_url":"https://api.github.com/repos/hadley/dplyr/statuses/ff8e8239a16521a677cd02c43047addb279bfeb1","head":{"label":"thelostscientist:patch-1","ref":"patch-1","sha":"ff8e8239a16521a677cd02c43047addb279bfeb1","user":{"login":"thelostscientist","id":9543653,"avatar_url":"https://avatars.githubusercontent.com/u/9543653?v=3","gravatar_id":"","url":"https://api.github.com/users/thelostscientist","html_url":"https://github.com/thelostscientist","followers_url":"https://api.github.com/users/thelostscientist/followers","following_url":"https://api.github.com/users/thelostscientist/following{/other_user}","gists_url":"https://api.github.com/users/thelostscientist/gists{/gist_id}","starred_url":"https://api.github.com/users/thelostscientist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelostscientist/subscriptions","organizations_url":"https://api.github.com/users/thelostscientist/orgs","repos_url":"https://api.github.com/users/thelostscientist/repos","events_url":"https://api.github.com/users/thelostscientist/events{/privacy}","received_events_url":"https://api.github.com/users/thelostscientist/received_events","type":"User","site_admin":false},"repo":{"id":55861831,"name":"dplyr","full_name":"thelostscientist/dplyr","owner":{"login":"thelostscientist","id":9543653,"avatar_url":"https://avatars.githubusercontent.com/u/9543653?v=3","gravatar_id":"","url":"https://api.github.com/users/thelostscientist","html_url":"https://github.com/thelostscientist","followers_url":"https://api.github.com/users/thelostscientist/followers","following_url":"https://api.github.com/users/thelostscientist/following{/other_user}","gists_url":"https://api.github.com/users/thelostscientist/gists{/gist_id}","starred_url":"https://api.github.com/users/thelostscientist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelostscientist/subscriptions","organizations_url":"https://api.github.com/users/thelostscientist/orgs","repos_url":"https://api.github.com/users/thelostscientist/repos","events_url":"https://api.github.com/users/thelostscientist/events{/privacy}","received_events_url":"https://api.github.com/users/thelostscientist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thelostscientist/dplyr","description":"Plyr specialised for data frames: faster & with remote datastores","fork":true,"url":"https://api.github.com/repos/thelostscientist/dplyr","forks_url":"https://api.github.com/repos/thelostscientist/dplyr/forks","keys_url":"https://api.github.com/repos/thelostscientist/dplyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thelostscientist/dplyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thelostscientist/dplyr/teams","hooks_url":"https://api.github.com/repos/thelostscientist/dplyr/hooks","issue_events_url":"https://api.github.com/repos/thelostscientist/dplyr/issues/events{/number}","events_url":"https://api.github.com/repos/thelostscientist/dplyr/events","assignees_url":"https://api.github.com/repos/thelostscientist/dplyr/assignees{/user}","branches_url":"https://api.github.com/repos/thelostscientist/dplyr/branches{/branch}","tags_url":"https://api.github.com/repos/thelostscientist/dplyr/tags","blobs_url":"https://api.github.com/repos/thelostscientist/dplyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thelostscientist/dplyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thelostscientist/dplyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/thelostscientist/dplyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thelostscientist/dplyr/statuses/{sha}","languages_url":"https://api.github.com/repos/thelostscientist/dplyr/languages","stargazers_url":"https://api.github.com/repos/thelostscientist/dplyr/stargazers","contributors_url":"https://api.github.com/repos/thelostscientist/dplyr/contributors","subscribers_url":"https://api.github.com/repos/thelostscientist/dplyr/subscribers","subscription_url":"https://api.github.com/repos/thelostscientist/dplyr/subscription","commits_url":"https://api.github.com/repos/thelostscientist/dplyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/thelostscientist/dplyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/thelostscientist/dplyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/thelostscientist/dplyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/thelostscientist/dplyr/contents/{+path}","compare_url":"https://api.github.com/repos/thelostscientist/dplyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thelostscientist/dplyr/merges","archive_url":"https://api.github.com/repos/thelostscientist/dplyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thelostscientist/dplyr/downloads","issues_url":"https://api.github.com/repos/thelostscientist/dplyr/issues{/number}","pulls_url":"https://api.github.com/repos/thelostscientist/dplyr/pulls{/number}","milestones_url":"https://api.github.com/repos/thelostscientist/dplyr/milestones{/number}","notifications_url":"https://api.github.com/repos/thelostscientist/dplyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thelostscientist/dplyr/labels{/name}","releases_url":"https://api.github.com/repos/thelostscientist/dplyr/releases{/id}","deployments_url":"https://api.github.com/repos/thelostscientist/dplyr/deployments","created_at":"2016-04-09T18:57:38Z","updated_at":"2016-04-09T18:57:39Z","pushed_at":"2016-04-09T18:59:24Z","git_url":"git://github.com/thelostscientist/dplyr.git","ssh_url":"git@github.com:thelostscientist/dplyr.git","clone_url":"https://github.com/thelostscientist/dplyr.git","svn_url":"https://github.com/thelostscientist/dplyr","homepage":null,"size":11016,"stargazers_count":0,"watchers_count":0,"language":"R","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":"hadley:master","ref":"master","sha":"053a996cb12aeb8c0ac305cbe268c5590a4ea3e5","user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"repo":{"id":6427813,"name":"dplyr","full_name":"hadley/dplyr","owner":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hadley/dplyr","description":"Plyr specialised for data frames: faster & with remote datastores","fork":false,"url":"https://api.github.com/repos/hadley/dplyr","forks_url":"https://api.github.com/repos/hadley/dplyr/forks","keys_url":"https://api.github.com/repos/hadley/dplyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hadley/dplyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hadley/dplyr/teams","hooks_url":"https://api.github.com/repos/hadley/dplyr/hooks","issue_events_url":"https://api.github.com/repos/hadley/dplyr/issues/events{/number}","events_url":"https://api.github.com/repos/hadley/dplyr/events","assignees_url":"https://api.github.com/repos/hadley/dplyr/assignees{/user}","branches_url":"https://api.github.com/repos/hadley/dplyr/branches{/branch}","tags_url":"https://api.github.com/repos/hadley/dplyr/tags","blobs_url":"https://api.github.com/repos/hadley/dplyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hadley/dplyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hadley/dplyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/hadley/dplyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hadley/dplyr/statuses/{sha}","languages_url":"https://api.github.com/repos/hadley/dplyr/languages","stargazers_url":"https://api.github.com/repos/hadley/dplyr/stargazers","contributors_url":"https://api.github.com/repos/hadley/dplyr/contributors","subscribers_url":"https://api.github.com/repos/hadley/dplyr/subscribers","subscription_url":"https://api.github.com/repos/hadley/dplyr/subscription","commits_url":"https://api.github.com/repos/hadley/dplyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/hadley/dplyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/hadley/dplyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/hadley/dplyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/hadley/dplyr/contents/{+path}","compare_url":"https://api.github.com/repos/hadley/dplyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hadley/dplyr/merges","archive_url":"https://api.github.com/repos/hadley/dplyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hadley/dplyr/downloads","issues_url":"https://api.github.com/repos/hadley/dplyr/issues{/number}","pulls_url":"https://api.github.com/repos/hadley/dplyr/pulls{/number}","milestones_url":"https://api.github.com/repos/hadley/dplyr/milestones{/number}","notifications_url":"https://api.github.com/repos/hadley/dplyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hadley/dplyr/labels{/name}","releases_url":"https://api.github.com/repos/hadley/dplyr/releases{/id}","deployments_url":"https://api.github.com/repos/hadley/dplyr/deployments","created_at":"2012-10-28T13:39:17Z","updated_at":"2016-04-09T18:25:57Z","pushed_at":"2016-04-09T02:34:36Z","git_url":"git://github.com/hadley/dplyr.git","ssh_url":"git@github.com:hadley/dplyr.git","clone_url":"https://github.com/hadley/dplyr.git","svn_url":"https://github.com/hadley/dplyr","homepage":null,"size":11016,"stargazers_count":1153,"watchers_count":1153,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":471,"mirror_url":null,"open_issues_count":89,"forks":471,"open_issues":89,"watchers":1153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hadley/dplyr/pulls/1766"},"html":{"href":"https://github.com/hadley/dplyr/pull/1766"},"issue":{"href":"https://api.github.com/repos/hadley/dplyr/issues/1766"},"comments":{"href":"https://api.github.com/repos/hadley/dplyr/issues/1766/comments"},"review_comments":{"href":"https://api.github.com/repos/hadley/dplyr/pulls/1766/comments"},"review_comment":{"href":"https://api.github.com/repos/hadley/dplyr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hadley/dplyr/pulls/1766/commits"},"statuses":{"href":"https://api.github.com/repos/hadley/dplyr/statuses/ff8e8239a16521a677cd02c43047addb279bfeb1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}