Description Usage Arguments Details Value Examples
View source: R/standard_checks.R
Search UUID column, then find duplicates / non-unique values in it
1 |
data |
a dataframe |
searches for "uuid" (not case sensitive) in the variable names. Identifies duplicate values in the first variable that matches the search.
This function uses the more generic find_duplicates()
function, which you should use if your id column doesn't contain "uuid"
A dataframe with one row per potential issue. It has columns for the corresponding row index in the original data; the suspicious value; the variable name in the original dataset in which the suspicious value occured; A description of the issue type.
1 2 3 4 | # a test dataset with 1000 rows; one numeric variable and one id variable
testdf <- data.frame(numeric_var = runif(10), unique_ids = c(1, 2, 3, 4, 5, 6, 7, 8, 1, 3))
# find duplicates in the unique_ids column:
find_duplicates_uuid(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.