Skip to contents

Check for duplicated rows in a data frame

Usage

check_duplicated_rows(formatted_csv, col_attributes = NULL)

Arguments

formatted_csv

The user-provided data frame to check for duplicated rows.

col_attributes

A named list of expected column attributes. If you want to check only specific columns for duplicates, include their names here. Otherwise, it will check all columns.

Value

An ErrorData object if any duplicated rows are found, otherwise NULL.