Skip to contents

Compare data (create new, deleted, and changed data)

Usage

compare_data(compare, base, by = NULL, by_col = NULL, cols = NULL)

Arguments

compare

comparison data table

base

base data table

by

join bs4Dash::column

by_col

new join bs4Dash::column name

cols

columns to compare

Value

list of comparison tables

Examples

# not run
m15 <- dfdiffs::master15
m22 <- dfdiffs::master22
compare_data(compare = m22, base = m15,
    by = "playerID",
    by_col = "join",
    cols = c("nameFirst", "nameLast", "nameGiven"))
#> Error in tidyr::unite(data, {    {        new_name    }}, {    {        cols    }}, remove = FALSE, sep = sep): `sep` must be a single string, not absent.