| right_join_warn {CellaRepertorium} | R Documentation |
dplyr::left_join() but check for non-key overlapping fieldsPerform 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.
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()
left_join_warn(mtcars, mtcars, by = 'mpg') left_join_warn(mtcars, mtcars, by = 'mpg', overwrite = TRUE)