duplicheck: Check for duplicates (in Consumer Pyramids and Indian...

View source: R/duplicheck.R

duplicheckR Documentation

Check for duplicates (in Consumer Pyramids and Indian election data)

Description

Check for duplicates (in Consumer Pyramids and Indian election data)

Usage

duplicheck(df, checkCols = NULL, fromLast = NULL, ..., verbose = FALSE)

Arguments

df

A dataframe, including sf, potentially containing duplicates.

checkCols

Column names as strings that will build the minimum distinct. dataset to be checked for duplicates. Defaults to ST_NAME/STATE and AC_NO.

fromLast

As in duplicated. The default NULL means that both sides will be checked and returned.

...

Arguments passed on to duplicated.

Value

The same as df with only the duplicated rows (all of them).


AltfunsMA/cptools documentation built on Aug. 7, 2022, 5:44 p.m.