Learn R Programming

loopr (version 1.0.1)

amendColumns: Amend variables with new information

Description

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

Usage

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