left_join_and_overwrite: Left-join and overwrite values in "left" dataframe

Description Usage Arguments Value

Description

If you want to recalculate Z-scores, for example, without worrying about columns in the "right" dataframe having the same names as columns in the left data frame (which would cause their names to become something like "colname.x" and "colname.y") this function replaces all the columns in the first data frame with the ones in the second. The arguments are just like left_join, and builds off that code.

Usage

1
2
left_join_and_overwrite(x, y, by = NULL, copy = FALSE,
  warnifnoprevious = FALSE, ...)

Arguments

x, y

the "left" and "right" data frames, respectively

by

the columns you want to join by would appear by default.

copy

whatever this argument means in the regular left_join

...

Optional arguments

Value

a data frame or tibble or whatever, just like left_join but with columns overwritten


burchill/pupilr documentation built on May 22, 2019, 2:27 p.m.