This is a function that use to match original data and addin data with identified variable.
Usage
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.
Value
is single line contains original variables and addin variables.
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.