dataCompareR (version 0.1.1)

executeCoercions: 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

Run this code
# NOT RUN {
executeCoercions(DFA=iris,DFB=iris,WhitespaceTrim= TRUE)
# }

Run the code above in your browser using DataLab