- x, y
dbi.table
s sharing the same DBI connection. If y
is
not a dbi.table
but does inherit from data.frame
, then it is
coerced to a dbi.table
using as.dbi.table
. If y
is missing, a merge is performed for each of x
's foreign keys.
- by
a character vector of shared column names in x
and y
to merge
on.
- by.x, by.y
character vectors of column names in x
and y
to merge on.
- all
a logical value. all = TRUE
is shorthand to save setting both
all.x = TRUE
and all.y = TRUE
.
- all.x
a logical value. When TRUE
, rows from x
that do not have a
matching row in y
are included. These rows will have NA
s in
the columns that are filled with values from y
. The default is
FALSE
so that only rows with data from both x
and y
are included in the output.
- all.y
a logical value. Analogous to all.x
above.
- sort
a logical value. When TRUE (default), the key of the merged
dbi.table
is set to the by
/ by.x
columns.
- suffixes
a length-2 character vector. The suffixes to be used for making
non-by
column names unique. The suffix behavior works in a similar
fashion to the merge.data.frame
method.
- no.dups
a logical value. When TRUE
, suffixes are also appended to
non-by.y
column names in y
when they have the same column
name as any by.x
.
- recursive
a logical value. Only used when y
is missing. When TRUE
,
merge
is called on each dbi.table
prior to merging with
x
. See examples.
- ...
additional arguments are passed to as.dbi.table
.