I am trying to left-join two data.frames by multiple columns. Except not all merging columns should be used depending on the rows of the tables.
Here is a reproducible ex