Skip to contents

Returns status of insurance change VW for an AhvNr between two RA data sets. See determination rules in Benutzeranleitung SORA PCG, Kap. 10.

Usage

vw_fun(T_1_26, T_14)

Arguments

T_1_26

A data.table featuring RA individual data according to naming and data type standards used in RA. 1st component of comparison ('previous year')

T_14

A data.table featuring RA individual data according to naming and data type standards used in RA. 2nd component of comparison.

Value

A data.table containing

BagNr

Integer with the BAG-Nr.

AhvNr

Pseudo SSN

Geburtsjahr

Year of birthday - used with AhvNr to warrant identification

VW

J/N dummy variable indicating the status of insurance change

Author

Magnus Vieten, Yannick Schwarz

Examples

if (FALSE) { # \dontrun{
vw_fun(T_1_26_auf, T_14_auf)
} # }