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

Implement unite() #301

Closed
jtlandis opened this issue Sep 23, 2021 · 3 comments · Fixed by #343
Closed

Implement unite() #301

jtlandis opened this issue Sep 23, 2021 · 3 comments · Fixed by #343

Comments

@jtlandis
Copy link

Hello, great work on the dtplyr package, its a really nice addition to the tidyverse. I was wondering if there will be more methods that extend some of tidyr generics. This is more or less an extended feature request to #266.

Most people who've adapted to using dplyr have likely relied on a few tidyr functions.

I think many people would benefit from the addition of:

  • nest.dtplyr_step
  • unnest.dtplyr_step
  • fill.dtplyr_step
  • pivot_longer.dtplyr_step (to pair with the existing pivot_wider.dtplyr_step)
  • separate.dtplyr_step
  • unite.dtplyr_step

There already exists a package out there that attempts to address these functions named tidyfast. Only downside is that these functions would force a lazy_dt to execute its steps as I believe the first step in tidyfast functions is to coerce the object with as.data.table()

@markfairbanks
Copy link
Collaborator

FYI these exist for all of those functions except unite() and unnest() in the development version of dtplyr.

devtools::install_github("tidyverse/dtplyr")

@markfairbanks markfairbanks changed the title Adding "dtplyr_step" methods for tidyr functions? Implement unite() Sep 23, 2021
@markfairbanks
Copy link
Collaborator

As far as unnest() - #266 is already an open request for it. However there isn't one for unite() yet, so I changed this feature request to adding that one 👍

@jtlandis
Copy link
Author

Ahh, I see, the CRAN version is not yet updated to the dev version. Thanks for letting me know!

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

Successfully merging a pull request may close this issue.

2 participants