dt_merge: Merge data.tables

View source: R/dt_ops.R

dt_mergeR Documentation

Merge data.tables

Description

Merge data.tables

Usage

dt_merge(
  left,
  right,
  on = NULL,
  left_on = NULL,
  right_on = NULL,
  how = "left",
  left_name = NULL,
  right_name = NULL,
  left_suffix = NULL,
  right_suffix = NULL,
  verbose = TRUE,
  ...
)

Arguments

left

data.table

right

data.table

on

Character: Name of column to join on

left_on

Character: Name of column on left table

right_on

Character: Name of column on right table

how

Character: Type of join: "inner", "left", "right", "outer".

left_name

Character: Name of left table

right_name

Character: Name of right table

left_suffix

Character: If provided, add this suffix to all left column names, excluding on/left_on

right_suffix

Character: If provided, add this suffix to all right column names, excluding on/right_on

verbose

Logical: If TRUE, print messages to console

...

Additional arguments to be passed to data.table::merge

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on May 4, 2024, 7:40 p.m.