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