act_join | R Documentation |
Modifier of tidyverse joins to return only unique 1-to-1 joins or a list of dataframes serving for join 'diagnostics'
act_join(x, y, type = "left_join", out = "pipe", ...)
x |
a dataframe to join |
y |
another dataframe to join |
type |
type of join to perform (in quotes). Options are "left_join" (default), "inner_join", "full_join", "semi_join", and "right_join". See separate help pages for these functions to determine which is most appropriate |
out |
output desired (in quotes). "pipe" (default) returns a single dataframe containing only perfect 1-to-1 matches. "list" returns a list of dataframes containing all 'diagnostic' categories (1-to-1, rows in x duplicated, rows in y duplicated, unmatched observations from x, unmatched observations from y) |
... |
passed to join function of choice |
Dependent on 'out' parameter. See above
test <- act_join(x, y, by = c("param1" = "param1", "param2" = "param2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.