TysonStanley / tidyfast

Fast and efficient alternatives to tidyr functions built on data.table #rdatatable #rstats
https://tysonbarrett.com/tidyfast/
187 stars 4 forks source link

Implement select helpers #19

Closed markfairbanks closed 4 years ago

markfairbanks commented 4 years ago

This allows for dt_starts_with(), dt_ends_with(), dt_contains(), and dt_everything() to be used in cols for dt_pivot_longer() & dt_pivot_wider()

TysonStanley commented 4 years ago

This is great, @mtfairbanks ! I made a few adjustments to the branch to fix the errors. Once those are cleared, I'll merge this.

As for integrating gdt, I think we can have tidyfast be open to the tidyverse but all built on data.table. I think the functions like dt_mutate(), dt_select(), etc. are very valuable and could possibly reach a larger audience within tidyfast. Do you want to make another pull request with those additions and we'll go through the functions we want to integrate?

markfairbanks commented 4 years ago

Awesome! Sounds good. I'll open up an issue with all of the functions listed out