Explain how to perform data merging/joining in R, contrasting base R's merge() with dplyr's join functions.
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how to merge and join data frames in R and how base R's merge() compares with the dplyr join verbs. Tests join types and key arguments, row order and suffixes, filtering joins, and pitfalls such as duplicate keys and missing key values.