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

Joins with custom suffixes on tbl_dt() #40

Closed
tempranillo1 opened this issue Mar 15, 2017 · 0 comments · Fixed by #48

Comments

@tempranillo1
Copy link

@tempranillo1 tempranillo1 commented Mar 15, 2017

Hi All,
dtplyr does not support custom suffixes with joins on tbl_dt objects. See the example below:

library(dplyr)

USArrests2 <- USArrests %>% 
  mutate(Name = rownames(.)) %>% 
  tbl_dt()

USArrests2 %>% 
  inner_join(USArrests2, by = "Name", suffix = c("_old", "_new")) %>% 
  head()

The same for left, right, semi and full join. For tbl_df objects join functions work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.