In properly normalized data bases, no inconsistencies
should be present. In real world data however ID mappings or
data base key candidates are repeated over and over across
observations, especially in mult centric studies with basic
research data. incons tries to detect and flag these mapping
discrepanices
Usage
incons(x, y, printproblems=FALSE)
Arguments
x,y
vectors of equal length, holding the mapping values,
sepearated by ","
printproblems
Should a table of found problems be printed
in addition to the returned flag?
Value
A named vector indicating whether ambiguous mapping does occur (TRUE)
or mapping is clean (FALSE)
Details
incons assumes a 1:1 mapping between provided variables, as is
commonly the case for example in ID translation steps