decoder: Decode Coded Variables to Plain Text (and Vice Versa)

Share:

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 et cetera but it is also easy to extend the use by arbitrary code sets.

Author
Erik Bulow [aut, cre]
Date of publication
2016-05-20 22:36:59
Maintainer
Erik Bulow <erik.bulow@rccvast.se>
License
GPL-2
Version
1.1.0
URLs

View on CRAN

Man pages

as.keyvalue.list
Coerce a list to keyvalue object
decoder
Decode codes to plain text (and vice versa)
distrikt
Distrikt code (district code)
extra_functions
Extra functions to apply to decoded variables using decode
figo
FIGO-stadium
forsamling
Forsamling (parish code)
hemort
hemort and hemort2 codes (geographical codes)
hsn
HSN code (Hälso- och sjukvårdsnämnd)
icd10
ICD-10 code
icd7
ICD-7
icd7_grov
ICD-7 Grov
icd9
ICD-9
icdo
ICD-O
icdo3
ICD-O3
icdo3_grov
ICD-O3 Grov
key_and_value
Coerce to key or value in objects in a key-value pair
keyvalue
Coerce to a keyvalue object
key_value_data
Key-value datasets for code translation
klinik
Clinic codes
kommun
Kommun code (municipality code)
kon
Gender code (kon)
lan
Lan code (county code)
m_rtr
M-stadium
n_rtr
N-stadium
pad
PAD (C24) code
pad0
Pad leading zeros to character
patologiavdelning
Patology department codes
region
Regional code
sida
Sida
sjukhus
Hospital codes
sjukvardsomrade
Geographical healthcare areas
snomed
Snomed code
snomed3
Snomed 3
summary.keyvalue
Object summary for keyvalue objects
tnmgrund
Grund till TNM (patologisk/klinisk)
t_rtr
T-stadium

Files in this package

decoder
decoder/inst
decoder/inst/doc
decoder/inst/doc/decoder.html
decoder/inst/doc/decoder.R
decoder/inst/doc/decoder.Rmd
decoder/tests
decoder/tests/testthat.R
decoder/tests/testthat
decoder/tests/testthat/test-as.key.R
decoder/tests/testthat/test-decode.R
decoder/tests/testthat/test-as.value.R
decoder/tests/testthat/test-as.keyvalue.data.frame.R
decoder/tests/testthat/test-datasets_keyvalue.R
decoder/tests/testthat/test-internal_format_as_key.R
decoder/tests/testthat/test-as.keyvalue.default.R
decoder/tests/testthat/test-code.R
decoder/tests/testthat/test-keyvalue_methods.R
decoder/tests/testthat/test-internal_extra_functions_sjukvardsomrade.R
decoder/tests/testthat/test-as.keyvalue.R
decoder/tests/testthat/test-is.keyvalue.R
decoder/tests/testthat/test-as.keyvalue.list.R
decoder/tests/testthat/test-list_keyvalues.R
decoder/NAMESPACE
decoder/R
decoder/R/as.keyvalue.default.R
decoder/R/datasets_keyvalue.R
decoder/R/internals.R
decoder/R/sysdata.rda
decoder/R/keyvalue_methods.R
decoder/R/decode.default.R
decoder/R/decode.R
decoder/R/extra_functions.R
decoder/R/as.key.R
decoder/R/code.R
decoder/R/decode.data.frame.R
decoder/R/decoder.R
decoder/R/list_keyvalues.R
decoder/R/as.keyvalue.list.R
decoder/R/as.keyvalue.R
decoder/R/as.keyvalue.data.frame.R
decoder/R/internal_format_as_key.R
decoder/R/as.value.R
decoder/R/is.keyvalue.R
decoder/vignettes
decoder/vignettes/decoder.Rmd
decoder/README.md
decoder/MD5
decoder/build
decoder/build/vignette.rds
decoder/DESCRIPTION
decoder/man
decoder/man/extra_functions.Rd
decoder/man/region.Rd
decoder/man/icd9.Rd
decoder/man/snomed3.Rd
decoder/man/sjukhus.Rd
decoder/man/forsamling.Rd
decoder/man/lan.Rd
decoder/man/m_rtr.Rd
decoder/man/decoder.Rd
decoder/man/kommun.Rd
decoder/man/icd7.Rd
decoder/man/klinik.Rd
decoder/man/sida.Rd
decoder/man/sjukvardsomrade.Rd
decoder/man/pad.Rd
decoder/man/icdo.Rd
decoder/man/keyvalue.Rd
decoder/man/hsn.Rd
decoder/man/kon.Rd
decoder/man/icd10.Rd
decoder/man/icdo3.Rd
decoder/man/key_value_data.Rd
decoder/man/t_rtr.Rd
decoder/man/patologiavdelning.Rd
decoder/man/snomed.Rd
decoder/man/summary.keyvalue.Rd
decoder/man/icd7_grov.Rd
decoder/man/icdo3_grov.Rd
decoder/man/distrikt.Rd
decoder/man/key_and_value.Rd
decoder/man/n_rtr.Rd
decoder/man/tnmgrund.Rd
decoder/man/as.keyvalue.list.Rd
decoder/man/pad0.Rd
decoder/man/figo.Rd
decoder/man/hemort.Rd