nathaneastwood / poorman

A poor man's dependency free grammar of data manipulation
https://nathaneastwood.github.io/poorman/
Other
340 stars 15 forks source link

Add data masking support in `arrange()` #89

Closed nathaneastwood closed 3 years ago

nathaneastwood commented 3 years ago

For example

arrange(mtcars, ammpg = am * mpg)

should create a new column, ammpg, and the resulting data.frame should be ordered by that column.

nathaneastwood commented 3 years ago

This is already a thing since arrange() uses transmute(). Keeping the newly created columns is not a thing in dplyr.