link: Use the selected pairs to generate a linked data set

Description Usage Arguments Details

View source: R/link.R

Description

Use the selected pairs to generate a linked data set

Usage

1
2
3
4
5
6
7
8
9
link(
  pairs,
  selection = NULL,
  x = NULL,
  y = NULL,
  all_x = TRUE,
  all_y = TRUE,
  ...
)

Arguments

pairs

a pairs object, such as generated by pair_blocking

selection

a logical variable with the same length as pairs has rows, or the name of such a variable in pairs. Pairs are only selected when select is TRUE. When missing attr(pairs, "selection") is used when available.

x

the first data set; when missing attr(pairs, "x") is used.

y

the second data set; when missing attr(pairs, "y") is used.

all_x

return all records from x.

all_y

return all records from y.

...

ignored.

Details

Uses the selected pairs to link the two data sets to each other. Renames variables that are in both data sets.


reclin documentation built on Nov. 23, 2021, 9:09 a.m.