executeCoercions {dataCompareR}R Documentation

executeCoercions:

Description

executeCoercions:

Usage

executeCoercions(DFA, DFB, WhitespaceTrim = TRUE)

Arguments

DFA

Input dataframe A

DFB

Input dataframe B

WhitespaceTrim

User defined boolean for whether leading/trailing white space is trimmed in strings (TRUE / FALSE)

Value

out list containing 3 data frames DFA, DFB and DataTypes

DFA Dataframe with factor fields converted to character type and white space trimming (if option is selected by the user)

DFB Dataframe with factor fields converted to character type and white space trimming (if option is selected by the user)

DataTypes Dataframe with field types before and after cleaning for both DFA and DFB

Examples

## Not run: executeCoercions(DFA=iris,DFB=iris,WhitespaceTrim= TRUE)

[Package dataCompareR version 0.1.4 Index]