A utility for creating linking functions that operate in both directions (full duplex).
duplex_data_linker(delegate, from_data, to_data =
from_data)
The linking function that performs the
mapping, such as match_any_linker
.
A data.frame
of keys
A data.frame
of keys
A two-way linking function as described in the details.
The generated linker function takes two arguments:
from_selection
and new_selection
. If
new_selection
is specified, new_selection
is mapped from to_data
to from_data
.
Otherwise, from_selection
is mapped from
from_data
to to_data
.