Decode Coded Variables to Plain Text and the Other Way Around
Coerce a list to keyvalue object
Decode codes to plain text (and vice versa)
Extra functions to apply to decoded variables using decode
Coerce to key or value in objects in a key-value pair
Coerce to a keyvalue object
Pad leading zeros to character
Help tables from Rockan
Object summary for keyvalue objects
Main function "decode" is used to decode coded key values to plain text. Function "code" can be used to code plain text to code if there is a 1:1 relation between the two. The concept relies on 'keyvalue' objects used for translation. There are several 'keyvalue' objects included in the areas of geographical regional codes, administrative health care unit codes, diagnosis codes and more. It is also easy to extend the use by arbitrary code sets.
Useful links