Description Usage Arguments Value Examples
Checks that the combination of the specified columns is unique
1 | sc_cols_unique(object, cols = names(object), ...)
|
object |
table with a columns specified by |
cols |
vector of characters which combination is checked to be unique |
... |
further parameters that are passed to add_sanity_check. |
see return object of add_sanity_check. Note that if a combination appears 3 times, then n_fail will increased by 3.
1 2 3 4 5 6 7 8 9 | dummy_call <- function(x) {
sc_cols_unique(
object = x,
cols = c("Species", "Sepal.Length",
"Sepal.Width", "Petal.Length"))
}
dummy_call(x = iris)
get_sanity_checks()
get_sanity_checks()[["example"]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.