-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
A prior iteration of this request was closed and locked as old, but the asserted rationale does not address the request. It would be very useful if the dplyr mutating join functions allowed for an option to create a variable indicating which observations were joined (or not) from each data frame. This is a feature available in Stata's merge command and in Pandas (indicator = True). It has been implemented in R through the statar package, but it would be great to have it included in the dplyr mutating join functions.
The purported rationale for closing the earlier iteration of this feature request was that tidylog has solved the problem. The tidylog package is great, but it doesn't add any variables to the merged data frame, which was the initial feature request.