find_variant_to: Find the variant of a code corresponding to a change *to* a specific code.
Description
Find the variant of a code corresponding to a change *to* a specific code.
Usage
find_variant_to(x, changeOccurred, variants)
Value
The variant corresponding to the code x
at date
changeOccurred
.
Arguments
- x
The code that is being changed
- changeOccurred
The date the change occurred
- variants
The variants lookup-table.