An internal function for data merging.

Share:

Description

This is a function that use to match original data and addin data with identified variable.

Usage

1
consolida(row, data, mergeVar)

Arguments

row

One sample that is already divided from the original file.

data

The "addin" file.

mergeVar

The variable that use to merge.

Details

This function is for internal use only, so no need to export it. It figures out the ID in the "addin" file then merge variables in addin file to the original file. This function is used for further "lapply" porcess.

Value

is single line contains original variables and addin variables.

Author(s)

Xiaorui.Zhu