I am trying to left join using dplyr
package in R.
Join_data <- left_join(df1, df2, by.x = c("Paid"), by.y = c("Price"))
The error message says
Error in left_join_impl(x, y, by$x, by$y, suffix$x, suffix$y, check_na_matches(na_matches)) : Can't join on 'Disposition' x 'Disposition' because of incompatible types (factor / logical)
I have thoroughly checked both fields Paid
and Price
are integers.