join with column name in R code example Example: join by different column names in r left_join(test_data, kantrowitz, by = c("first_name" = "name"))