View source: R/universal_useful.R
join_check | R Documentation |
Detect possible duplicates of rows or columns after a join
join_check(after, before, halt_fn = rlang::warn)
after |
|
before |
|
halt_fn |
|
rlang::abort()
base::message()
a = data.frame(a = c(1, 2, 3, 4, 3, 5), b = 1:6)
b = data.frame(a = c(1, 2, 3, 4, 5), c = letters[1:5])
after <- dplyr::left_join(a, b)
join_check(b, after, halt_fn = message)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.