find_deltas: Find Differences Between A Data Set and an Updated Version

Description Usage Arguments Value Examples

View source: R/update_with.R

Description

Find Differences Between A Data Set and an Updated Version

Usage

1
2
3
4
5
6
7
8
find_deltas(
  .master,
  .data,
  .key = "VID",
  return_all = FALSE,
  ignore_col_case = TRUE,
  ...
)

Arguments

.master

a data.frame or tibble containing the master VLD data to use as a baseline.

.data

a data.frame or tibble containing the updated data. At least the key column and one additional column must match the column names for the master data.

.key

a character. The name of the column on which to match .data and .master. Must be present in both data frames.

return_all

logical. Should the output include all rows and columns in the VLD? if FALSE, will only return the columns in both .data and .master with changed values

ignore_col_case

logical. Should the column names be compared with or wthout case? if TRUE, will not match columns of differing cases, eg. Tag != tag. Defaults to FALSE, eg. Tag ~= tag.

...

additional arguments

Value

a data frame with base VLD dat

Examples

1
2
3
4
## Not run: 
my_updates %>% find_deltas(VLD_master, return_all = FALSE)

## End(Not run)

burch-cm/kittius documentation built on March 11, 2021, 5:40 a.m.