{"action":"closed","number":1332,"pull_request":{"url":"https://api.github.com/repos/Rdatatable/data.table/pulls/1332","id":45082672,"html_url":"https://github.com/Rdatatable/data.table/pull/1332","diff_url":"https://github.com/Rdatatable/data.table/pull/1332.diff","patch_url":"https://github.com/Rdatatable/data.table/pull/1332.patch","issue_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1332","number":1332,"state":"closed","locked":false,"title":" Add an \"unsetkey\" convenience function","user":{"login":"gwerbin","id":5758789,"avatar_url":"https://avatars.githubusercontent.com/u/5758789?v=3","gravatar_id":"","url":"https://api.github.com/users/gwerbin","html_url":"https://github.com/gwerbin","followers_url":"https://api.github.com/users/gwerbin/followers","following_url":"https://api.github.com/users/gwerbin/following{/other_user}","gists_url":"https://api.github.com/users/gwerbin/gists{/gist_id}","starred_url":"https://api.github.com/users/gwerbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwerbin/subscriptions","organizations_url":"https://api.github.com/users/gwerbin/orgs","repos_url":"https://api.github.com/users/gwerbin/repos","events_url":"https://api.github.com/users/gwerbin/events{/privacy}","received_events_url":"https://api.github.com/users/gwerbin/received_events","type":"User","site_admin":false},"body":"I pulled this one from my .Rprofile and just thought I'd share.\r\n\r\nI sometimes find myself temporarily setting keys (e.g. before a join) and then removing them shortly afterwards. This is a convenience function intended mostly for that use, although it might be somewhat unnecessary now that we have the `on = ` argument. I specifically made sure that the original order of the remaining keys is preserved.","created_at":"2015-09-15T18:10:19Z","updated_at":"2015-09-15T18:55:14Z","closed_at":"2015-09-15T18:55:14Z","merged_at":null,"merge_commit_sha":"738e5a98a7b99da565c149109f5ab57cec5ffb42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rdatatable/data.table/pulls/1332/commits","review_comments_url":"https://api.github.com/repos/Rdatatable/data.table/pulls/1332/comments","review_comment_url":"https://api.github.com/repos/Rdatatable/data.table/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rdatatable/data.table/issues/1332/comments","statuses_url":"https://api.github.com/repos/Rdatatable/data.table/statuses/5a4e44b30c3c07096a2f7ae6519b33863cd7a190","head":{"label":"gwerbin:unsetkey","ref":"unsetkey","sha":"5a4e44b30c3c07096a2f7ae6519b33863cd7a190","user":{"login":"gwerbin","id":5758789,"avatar_url":"https://avatars.githubusercontent.com/u/5758789?v=3","gravatar_id":"","url":"https://api.github.com/users/gwerbin","html_url":"https://github.com/gwerbin","followers_url":"https://api.github.com/users/gwerbin/followers","following_url":"https://api.github.com/users/gwerbin/following{/other_user}","gists_url":"https://api.github.com/users/gwerbin/gists{/gist_id}","starred_url":"https://api.github.com/users/gwerbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwerbin/subscriptions","organizations_url":"https://api.github.com/users/gwerbin/orgs","repos_url":"https://api.github.com/users/gwerbin/repos","events_url":"https://api.github.com/users/gwerbin/events{/privacy}","received_events_url":"https://api.github.com/users/gwerbin/received_events","type":"User","site_admin":false},"repo":{"id":41781268,"name":"data.table","full_name":"gwerbin/data.table","owner":{"login":"gwerbin","id":5758789,"avatar_url":"https://avatars.githubusercontent.com/u/5758789?v=3","gravatar_id":"","url":"https://api.github.com/users/gwerbin","html_url":"https://github.com/gwerbin","followers_url":"https://api.github.com/users/gwerbin/followers","following_url":"https://api.github.com/users/gwerbin/following{/other_user}","gists_url":"https://api.github.com/users/gwerbin/gists{/gist_id}","starred_url":"https://api.github.com/users/gwerbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwerbin/subscriptions","organizations_url":"https://api.github.com/users/gwerbin/orgs","repos_url":"https://api.github.com/users/gwerbin/repos","events_url":"https://api.github.com/users/gwerbin/events{/privacy}","received_events_url":"https://api.github.com/users/gwerbin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gwerbin/data.table","description":"R's data.table package extends data.frame. More info: ","fork":true,"url":"https://api.github.com/repos/gwerbin/data.table","forks_url":"https://api.github.com/repos/gwerbin/data.table/forks","keys_url":"https://api.github.com/repos/gwerbin/data.table/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gwerbin/data.table/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gwerbin/data.table/teams","hooks_url":"https://api.github.com/repos/gwerbin/data.table/hooks","issue_events_url":"https://api.github.com/repos/gwerbin/data.table/issues/events{/number}","events_url":"https://api.github.com/repos/gwerbin/data.table/events","assignees_url":"https://api.github.com/repos/gwerbin/data.table/assignees{/user}","branches_url":"https://api.github.com/repos/gwerbin/data.table/branches{/branch}","tags_url":"https://api.github.com/repos/gwerbin/data.table/tags","blobs_url":"https://api.github.com/repos/gwerbin/data.table/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gwerbin/data.table/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gwerbin/data.table/git/refs{/sha}","trees_url":"https://api.github.com/repos/gwerbin/data.table/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gwerbin/data.table/statuses/{sha}","languages_url":"https://api.github.com/repos/gwerbin/data.table/languages","stargazers_url":"https://api.github.com/repos/gwerbin/data.table/stargazers","contributors_url":"https://api.github.com/repos/gwerbin/data.table/contributors","subscribers_url":"https://api.github.com/repos/gwerbin/data.table/subscribers","subscription_url":"https://api.github.com/repos/gwerbin/data.table/subscription","commits_url":"https://api.github.com/repos/gwerbin/data.table/commits{/sha}","git_commits_url":"https://api.github.com/repos/gwerbin/data.table/git/commits{/sha}","comments_url":"https://api.github.com/repos/gwerbin/data.table/comments{/number}","issue_comment_url":"https://api.github.com/repos/gwerbin/data.table/issues/comments{/number}","contents_url":"https://api.github.com/repos/gwerbin/data.table/contents/{+path}","compare_url":"https://api.github.com/repos/gwerbin/data.table/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gwerbin/data.table/merges","archive_url":"https://api.github.com/repos/gwerbin/data.table/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gwerbin/data.table/downloads","issues_url":"https://api.github.com/repos/gwerbin/data.table/issues{/number}","pulls_url":"https://api.github.com/repos/gwerbin/data.table/pulls{/number}","milestones_url":"https://api.github.com/repos/gwerbin/data.table/milestones{/number}","notifications_url":"https://api.github.com/repos/gwerbin/data.table/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gwerbin/data.table/labels{/name}","releases_url":"https://api.github.com/repos/gwerbin/data.table/releases{/id}","created_at":"2015-09-02T05:17:33Z","updated_at":"2015-09-02T05:17:33Z","pushed_at":"2015-09-15T17:57:35Z","git_url":"git://github.com/gwerbin/data.table.git","ssh_url":"git@github.com:gwerbin/data.table.git","clone_url":"https://github.com/gwerbin/data.table.git","svn_url":"https://github.com/gwerbin/data.table","homepage":"https://github.com/Rdatatable/data.table/wiki","size":9047,"stargazers_count":0,"watchers_count":0,"language":"C","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":"Rdatatable:master","ref":"master","sha":"a401ca07c33098d9c46ae76eb51c4dbbd50ba2f6","user":{"login":"Rdatatable","id":7824179,"avatar_url":"https://avatars.githubusercontent.com/u/7824179?v=3","gravatar_id":"","url":"https://api.github.com/users/Rdatatable","html_url":"https://github.com/Rdatatable","followers_url":"https://api.github.com/users/Rdatatable/followers","following_url":"https://api.github.com/users/Rdatatable/following{/other_user}","gists_url":"https://api.github.com/users/Rdatatable/gists{/gist_id}","starred_url":"https://api.github.com/users/Rdatatable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rdatatable/subscriptions","organizations_url":"https://api.github.com/users/Rdatatable/orgs","repos_url":"https://api.github.com/users/Rdatatable/repos","events_url":"https://api.github.com/users/Rdatatable/events{/privacy}","received_events_url":"https://api.github.com/users/Rdatatable/received_events","type":"Organization","site_admin":false},"repo":{"id":20597509,"name":"data.table","full_name":"Rdatatable/data.table","owner":{"login":"Rdatatable","id":7824179,"avatar_url":"https://avatars.githubusercontent.com/u/7824179?v=3","gravatar_id":"","url":"https://api.github.com/users/Rdatatable","html_url":"https://github.com/Rdatatable","followers_url":"https://api.github.com/users/Rdatatable/followers","following_url":"https://api.github.com/users/Rdatatable/following{/other_user}","gists_url":"https://api.github.com/users/Rdatatable/gists{/gist_id}","starred_url":"https://api.github.com/users/Rdatatable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rdatatable/subscriptions","organizations_url":"https://api.github.com/users/Rdatatable/orgs","repos_url":"https://api.github.com/users/Rdatatable/repos","events_url":"https://api.github.com/users/Rdatatable/events{/privacy}","received_events_url":"https://api.github.com/users/Rdatatable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rdatatable/data.table","description":"R's data.table package extends data.frame. More info: ","fork":false,"url":"https://api.github.com/repos/Rdatatable/data.table","forks_url":"https://api.github.com/repos/Rdatatable/data.table/forks","keys_url":"https://api.github.com/repos/Rdatatable/data.table/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rdatatable/data.table/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rdatatable/data.table/teams","hooks_url":"https://api.github.com/repos/Rdatatable/data.table/hooks","issue_events_url":"https://api.github.com/repos/Rdatatable/data.table/issues/events{/number}","events_url":"https://api.github.com/repos/Rdatatable/data.table/events","assignees_url":"https://api.github.com/repos/Rdatatable/data.table/assignees{/user}","branches_url":"https://api.github.com/repos/Rdatatable/data.table/branches{/branch}","tags_url":"https://api.github.com/repos/Rdatatable/data.table/tags","blobs_url":"https://api.github.com/repos/Rdatatable/data.table/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rdatatable/data.table/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rdatatable/data.table/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rdatatable/data.table/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rdatatable/data.table/statuses/{sha}","languages_url":"https://api.github.com/repos/Rdatatable/data.table/languages","stargazers_url":"https://api.github.com/repos/Rdatatable/data.table/stargazers","contributors_url":"https://api.github.com/repos/Rdatatable/data.table/contributors","subscribers_url":"https://api.github.com/repos/Rdatatable/data.table/subscribers","subscription_url":"https://api.github.com/repos/Rdatatable/data.table/subscription","commits_url":"https://api.github.com/repos/Rdatatable/data.table/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rdatatable/data.table/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rdatatable/data.table/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rdatatable/data.table/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rdatatable/data.table/contents/{+path}","compare_url":"https://api.github.com/repos/Rdatatable/data.table/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rdatatable/data.table/merges","archive_url":"https://api.github.com/repos/Rdatatable/data.table/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rdatatable/data.table/downloads","issues_url":"https://api.github.com/repos/Rdatatable/data.table/issues{/number}","pulls_url":"https://api.github.com/repos/Rdatatable/data.table/pulls{/number}","milestones_url":"https://api.github.com/repos/Rdatatable/data.table/milestones{/number}","notifications_url":"https://api.github.com/repos/Rdatatable/data.table/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rdatatable/data.table/labels{/name}","releases_url":"https://api.github.com/repos/Rdatatable/data.table/releases{/id}","created_at":"2014-06-07T16:38:05Z","updated_at":"2015-09-15T02:59:37Z","pushed_at":"2015-09-15T18:10:20Z","git_url":"git://github.com/Rdatatable/data.table.git","ssh_url":"git@github.com:Rdatatable/data.table.git","clone_url":"https://github.com/Rdatatable/data.table.git","svn_url":"https://github.com/Rdatatable/data.table","homepage":"https://github.com/Rdatatable/data.table/wiki","size":40345,"stargazers_count":452,"watchers_count":452,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":382,"mirror_url":null,"open_issues_count":364,"forks":382,"open_issues":364,"watchers":452,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rdatatable/data.table/pulls/1332"},"html":{"href":"https://github.com/Rdatatable/data.table/pull/1332"},"issue":{"href":"https://api.github.com/repos/Rdatatable/data.table/issues/1332"},"comments":{"href":"https://api.github.com/repos/Rdatatable/data.table/issues/1332/comments"},"review_comments":{"href":"https://api.github.com/repos/Rdatatable/data.table/pulls/1332/comments"},"review_comment":{"href":"https://api.github.com/repos/Rdatatable/data.table/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rdatatable/data.table/pulls/1332/commits"},"statuses":{"href":"https://api.github.com/repos/Rdatatable/data.table/statuses/5a4e44b30c3c07096a2f7ae6519b33863cd7a190"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"commits":3,"additions":37,"deletions":0,"changed_files":2}}