A common usage of RstoxFDA::convertCodes is to apply non-complete conversion, where it is desired that the codes for which no conversion is defined are set to NA. Currently the function halts with an error if any codes in argument 'code' does not have a mapping defined in 'conversionTable'. Add an option 'strict' with default value True, which may be used to convert with incomplete mapping, leaving undefined codes as NA.
A common usage of RstoxFDA::convertCodes is to apply non-complete conversion, where it is desired that the codes for which no conversion is defined are set to NA. Currently the function halts with an error if any codes in argument 'code' does not have a mapping defined in 'conversionTable'. Add an option 'strict' with default value True, which may be used to convert with incomplete mapping, leaving undefined codes as NA.