Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R-Forge #2033] Add by.x and by.y to merge.data.table #637

Closed
arunsrinivasan opened this issue Jun 8, 2014 · 3 comments
Closed

[R-Forge #2033] Add by.x and by.y to merge.data.table #637

arunsrinivasan opened this issue Jun 8, 2014 · 3 comments
Assignees
Milestone

Comments

@arunsrinivasan
Copy link
Member

Submitted by: Chris Neff; Assigned to: Nobody; R-Forge link

Especially implementing by.x and by.y.

@ctbrown
Copy link

ctbrown commented Oct 23, 2014

For what it is worth, I have been bitten by the lack of by.x / by.y more then once.

@gcdnyc
Copy link

gcdnyc commented May 13, 2015

i am actually moving back to using data frames instead of data tables since i need to use merge frequently, and work with lots of datasets with different column names. hopefully this will be enhanced soon, although i see this post from Matt from 3 years ago about this topic:

http://stackoverflow.com/questions/14069796/merging-data-tables-based-on-columns-names

@jangorecki
Copy link
Member

@gcdnyc a simple wrapper to re-setkey on columns which has to be joined seems to be pretty straightforward to handle that.
There are multiple functionalities which are easy do-able in data.table, just not wrapped as single call, see set operators, cross join. Some PR with those functions are waiting here on github. I believe Matt and Arun wants to incorporate them in the most efficient way with good docs and tests.
If you would develop such wrapper you may drop a link here so others may use/contribute to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants