duplex_data_linker: Duplex linking

View source: R/linking.r

duplex_data_linkerR Documentation

Duplex linking

Description

A utility for creating linking functions that operate in both directions (full duplex).

Usage

  duplex_data_linker(delegate, from_data, to_data =
  from_data)

Arguments

delegate

The linking function that performs the mapping, such as match_any_linker.

from_data

A data.frame of keys

to_data

A data.frame of keys

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.

Value

A two-way linking function as described in the details.

Author(s)

Michael Lawrence


plumbr documentation built on May 7, 2022, 1:05 a.m.