View source: R/helper_functions.R
coalesce_join | R Documentation |
A join to combine datasets containing identical non-key columns in varying states of completeness
coalesce_join(
x,
y,
by = NULL,
suffix = c(".x", ".y"),
join = dplyr::full_join,
...
)
x |
The primary data frame or tibble from which values will be prefered |
y |
The secondary data frame or tibble from which values will only be used when values in x are NA |
by |
A character vector of columns to join by. |
suffix |
The suffixes from the dplyr join to remove. |
join |
The type of dplyr join to perform |
... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.