I have two dataframes Table1 and Table2 with primary keys a and b respectively. a is of class
numeric and b is of class character with the unique values shown below. I need to left join Table1 with Table2 on a = b. What will be the best way to change columns class to make them ready for joining?
unique(Table1$a)
"1A" ,"1B","01" ,"02", "05" ,"10" ,"03"
class(a)
"numeric"
unique(Table2$b)
1, 6, 10, 11, 2, 50, 51, NA
class(b)
"character"