Description Usage Arguments Value Functions Examples
Perform a dplyr
join, but either warn if the two tables
share non-key fields If overwrite = TRUE
, then shared columns will pull from x
otherwise a suffix will be added to y
. To perform this check, by
must be specified, and it is an error if it is not.
1 2 3 | right_join_warn(...)
left_join_warn(x, y, by, overwrite = FALSE, join = left_join, ...)
|
... |
passed to joining function |
x |
A pair of data frames, data frame extensions (e.g. a tibble), or lazy data frames (e.g. from dbplyr or dtplyr). See Methods, below, for more details. |
y |
A pair of data frames, data frame extensions (e.g. a tibble), or lazy data frames (e.g. from dbplyr or dtplyr). See Methods, below, for more details. |
by |
|
overwrite |
|
join |
function giving the type of join to perform, eg, left, right, inner, outer. |
data.frame
or tibble
right_join_warn
: perform a dplyr::right_join()
1 2 | left_join_warn(mtcars, mtcars, by = 'mpg')
left_join_warn(mtcars, mtcars, by = 'mpg', overwrite = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.