joinForeignTbl {editbl}R Documentation

Merge a tbl with it a foreignTbl

Description

Merge a tbl with it a foreignTbl

Usage

joinForeignTbl(
  tbl,
  foreignTbl,
  keepNA = TRUE,
  by = foreignTbl$by,
  copy = TRUE,
  type = c("inner", "left")[1]
)

Arguments

tbl

tbl

foreignTbl

list as created by foreignTbl

keepNA

logical keep rows from tbl with NA keys.

by

named character, columns to join on.

copy

logical, whether or not to copy the foreignTbl to the source of argument tbl for joining.

type

character(1), type of joint to perform. Can be 'inner' or 'left'.

Details

see also dplyr join functions, for example dplyr::left_join.

Value

tbl, containing both columns from argument tbl and argument foreignTbl.

Author(s)

Jasper Schelfhout


[Package editbl version 1.0.5 Index]