Decode Coded Variables to Plain Text and the Other Way Around

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.


The decoder package holds function to decode coded variables to plain text (and vice versa).

Install package by:

# install package devtools if not already done:
install.packages("devtools")
devtools::install_bitbucket("cancercentrum/decoder")

Vignette

See the vignette for an introduction to the package. Online: https://rawgit.com/cancercentrum/decoder/master/vignettes/decoder.html

Within R when package installed:

vignette("decoder")

Bug reports

Please report to: https://bitbucket.com/cancercentrum/decoder/issues

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("decoder")

1.1.12 by Erik Bulow, 9 months ago


https://www.bitbucket.com/cancercentrum/decoder


Report a bug at https://www.bitbucket.com/cancercentrum/decoder/issues


Browse source code at https://github.com/cran/decoder


Authors: Erik Bulow [aut, cre]


Documentation:   PDF Manual  


GPL-2 license


Imports backports

Suggests dplyr, DT, testthat, knitr, rmarkdown, tidyr


Imported by incadata.


See at CRAN