checkData {sampleVADIR}R Documentation

Compare old and new versions of VADIR to find repeats

Description

Can be used to identify whether a new version of VADIR contains any old responses. Can also automatically remove repeated responses.

Usage

checkData(old, new, fix = FALSE, dates = FALSE)

Arguments

old

Past version of VADIR

new

New version of VADIR

fix

Logical. Determines whether to automatically remove repeated responses.

dates

Logical. Determines whether to include date variables when comparing datasets. Recommended to keep FALSE.

Value

Returns a message that no repeated responses exist if there are none. Otherwise, returns either a warning that repeated responses exist, or returns the new VADIR dataset without repeated responses if fix = TRUE.


[Package sampleVADIR version 1.0.0 Index]