qc_data_frame: "QC" data frames

Description Usage Arguments Details Value

View source: R/qc-data-frames.R

Description

Compare values of two data.frames base on an index

Usage

1
2
3
4
5
6
7
8
qc_data_frame(
  target,
  reference,
  index,
  keep_all = FALSE,
  ...,
  .use_tibble = TRUE
)

Arguments

target

Targer (test) table

reference

Reference table

index

The name or the index

keep_all

Logical, passed to 'reindex()' (see details)

...

additional arguments passed to [stringdist::stringdist]

.use_tibble

Logical, if 'TRUE'

Details

All values from the target and reference will be returned as characters. 'keep_all' is passed to the 'keep_all' argument in 'reindex()'. If this is 'TRUE',

Value

A data.frame with the index values and differences in target and comparisons.


jmbarbone/dirtyr documentation built on Sept. 23, 2020, 4:05 a.m.