find_duplicates_uuid: Search UUID column, then find duplicates / non-unique values...

Description Usage Arguments Details Value Examples

View source: R/standard_checks.R

Description

Search UUID column, then find duplicates / non-unique values in it

Usage

1

Arguments

data

a dataframe

Details

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"

Value

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.

Examples

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)

ellieallien/cleaninginspectoR documentation built on July 18, 2019, 12:30 p.m.