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