Skip to content

Joins with custom suffixes on tbl_dt() #40

@tempranillo1

Description

@tempranillo1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions