inner_join_rename: Inner join two well formatted tables, renaming as we go

View source: R/core_linkage_functions.R

inner_join_renameR Documentation

Inner join two well formatted tables, renaming as we go

Description

Inner join two well formatted tables, renaming as we go

Usage

inner_join_rename(tbl1, tbl2, by_vars, tags = c("a", "b"))

Arguments

tbl1

First table to join

tbl2

Second table to join

by_vars

Variables to join them on (TODO: make this optional, default to linkage vars)

tags

Optional tags to add as suffix on common variables

Value

A tibble

Examples

link_tbl  = inner_join_rename(tbl1, tbl2, get_shared_linkage_vars(tbl1), tags = c("ED", "MVC"))

mikedolanfliss/cascadejoin documentation built on Jan. 25, 2025, 10 p.m.