amendColumns: Amend variables with new information

Description Usage Arguments Value

View source: R/loopr.R

Description

Replace all non-NA values in one set of columns with values from another matching set

Usage

1
amendColumns(data, originalNames, amendNames)

Arguments

data

A data frame

originalNames

A vector of column names with out-of-date information

amendNames

A vector of column names with amended information. They will be removed at the end of processing.

Value

An amended tbl_df


loopr documentation built on May 1, 2019, 8:04 p.m.