how to merge data based on conditional value

I want to do a merge just like following

p1

the data "1" is the core data. and i want to left_join with data 2. And based column a, how i can get the data"3".

What you are describing is an update not a join, use dplyr::rows_update()

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

1 Like

thanks a lot.
and it can be woked .

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.