union_all.duckplyr_df {duckplyr} | R Documentation |
Union of all
Description
This is a method for the dplyr::union_all()
generic.
See "Fallbacks" section for differences in implementation.
union_all(x, y)
finds all rows in either x or y, including duplicates.
Usage
## S3 method for class 'duckplyr_df'
union_all(x, y, ...)
Arguments
x , y |
Pair of compatible data frames. A pair of data frames is compatible if they have the same column names (possibly in different orders) and compatible types. |
... |
These dots are for future extensions and must be empty. |
Fallbacks
There is no DuckDB translation in union_all.duckplyr_df()
if column names are duplicated in one of the tables,
if column names are different in both tables.
These features fall back to dplyr::union_all()
, see vignette("fallback")
for details.
See Also
Examples
df1 <- duckdb_tibble(x = 1:3)
df2 <- duckdb_tibble(x = 3:5)
union_all(df1, df2)
[Package duckplyr version 1.1.0 Index]