dataCompareR (version 0.1.0)

subsetDataColumns: subsetDataColumns : create subset of DFA and DFB to contain matching column names for both data frames

Description

subsetDataColumns : create subset of DFA and DFB to contain matching column names for both data frames

Usage

subsetDataColumns(DFA, DFB, colInfoList)

Arguments

DFA

input data frame

DFB

input data frame

colInfoList

named list containing the column mapping data frames and the list of common column names

Value

matchColOut named list of data frames. subsetA,subsetB contain only columns common to both data frames. colInfoA,colInfoB contain mapping of column names from original to treated and boolean indicator of common columns.