semi_join.duckplyr_df {duckplyr} | R Documentation |
Semi join
Description
This is a method for the dplyr::semi_join()
generic.
semi_join()
returns all rows from x with a match in y.
Usage
## S3 method for class 'duckplyr_df'
semi_join(x, y, by = NULL, copy = FALSE, ..., na_matches = c("na", "never"))
Arguments
x , 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 |
A join specification created with If To join on different variables between To join by multiple variables, use a
For simple equality joins, you can alternatively specify a character vector
of variable names to join by. For example, To perform a cross-join, generating all combinations of |
copy |
If |
... |
Other parameters passed onto methods. |
na_matches |
Should two |
See Also
Examples
library(duckplyr)
band_members %>% semi_join(band_instruments)