-
Notifications
You must be signed in to change notification settings - Fork 7
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
compact syntax for summarizing #26
Comments
rather than
To say "all" we can keep the Leveraging tidyselect if it's installed would be nice |
A problem of the above syntax is if my input is used several times in my function. We could in these cases use |
The other problem is how to deal with this with the debugging pipe. I think we change the following :
to :
And we do our development inside of We can also have a function |
|
Some random ideas about the rhs :
|
Note : largely outdated, keeping around until all issues have moved to better places
I feel both dplyr and data.table are too verbose for most summarizing operations.
Moreover dplyr became very sophisticated with accross, but it leads to having
summarize(across(where
situations that I find awkward.What about making those 2 equivalent :
{}
means "all", but it can be filled with symbols or litterals so it means"if" if it evaluates to a function, or "at" if it evaluates to a numeric or character.{
has already several meanings, that's the flaw :{
to start the pipe{
is used to turn off implicit dots~
, then it still turns off implicit dots but means we'll summarizeAlso, the use of
;
is really unorthodox.But all in all I think it might be worth it.
The last post in #21 proposes some simpler summarize behaviors to accompany it
The text was updated successfully, but these errors were encountered: