keyed-df-two-tbl {keyholder} | R Documentation |
Two-table verbs from dplyr for keyed_df
Description
Defined methods for dplyr generic join functions. All of them preserve 'keyed_df' class and 'keys' attribute of the first argument. Also these methods modify rows in keys according to the rows modification in first argument (if any).
Usage
## S3 method for class 'keyed_df'
inner_join(x, y, by = NULL, copy = FALSE,
suffix = c(".x", ".y"), ...)
## S3 method for class 'keyed_df'
left_join(x, y, by = NULL, copy = FALSE,
suffix = c(".x", ".y"), ...)
## S3 method for class 'keyed_df'
right_join(x, y, by = NULL, copy = FALSE,
suffix = c(".x", ".y"), ...)
## S3 method for class 'keyed_df'
full_join(x, y, by = NULL, copy = FALSE,
suffix = c(".x", ".y"), ...)
## S3 method for class 'keyed_df'
semi_join(x, y, by = NULL, copy = FALSE, ...)
## S3 method for class 'keyed_df'
anti_join(x, y, by = NULL, copy = FALSE, ...)
Arguments
x , y , by , copy , suffix , ... |
Parameters for join functions. |
See Also
Examples
dplyr::band_members %>% key_by(band) %>%
dplyr::semi_join(dplyr::band_instruments, by = "name") %>%
keys()
[Package keyholder version 0.1.7 Index]