coalesce_join: Coalescing join

View source: R/helper_functions.R

coalesce_joinR Documentation

Coalescing join

Description

A join to combine datasets containing identical non-key columns in varying states of completeness

Usage

coalesce_join(
  x,
  y,
  by = NULL,
  suffix = c(".x", ".y"),
  join = dplyr::full_join,
  ...
)

Arguments

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

...

alexpiper/seqateurs documentation built on July 9, 2023, 7:21 a.m.