This function cleans incorrect values for a RSA-911 variable.

handle_values(x, values, blank_value = NA)

Arguments

x

An RSA-911 variable with specific allowed values.

values

A vector of permitted values for the variable.

blank_value

The preferred replacement value for incorrect values. Default is to replace incorrect values to NA.

Value

The converted date variable.