-
Notifications
You must be signed in to change notification settings - Fork 991
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
Support for on-the-fly columns in on #1639
Comments
looks like a duplicate of #625 |
Big vote for this enhancement since it makes the syntax of data.table shorter, more intuitive and more SQL alike. |
When done, update: http://stackoverflow.com/q/37978658/559784 |
Because Arun started a list with SO posts which may be updated, I thought it I could add some more I stumbled over: How to merge dataframes of unequal length based on time with buffer intervals in R? Data.Table non-equi join with arithmetic operations subset data.frame base on a time interval + or - list of dates |
To update: https://stackoverflow.com/q/52901099 |
To update: https://stackoverflow.com/q/53559119/2204410 |
What would the API be? The difficult part is that users may want to use the newly created
The alternative would be like SQL and have the eval happen twice, once in
|
AFAIR |
The ability to create columns in
on
on-the-fly, like we can inj
orby
, would be appreciated.As a usage example, this would have simplified my answer to the following self-join / moving-average-type answer:
http://stackoverflow.com/a/36534824/3576984
Reproduced here:
Would have been prettier / easier to parse as:
The text was updated successfully, but these errors were encountered: