consolida {DataClean}R Documentation

An internal function for data merging.

Description

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.

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


[Package DataClean version 1.0 Index]