Learn R Programming

⚠️There's a newer version (1.2.2) of this package.Take me there.

decoder

The goal of decoder is to decode coded and perhaps cryptical variables to more understandable descriptive labels.

Installation

You can install the released version of decoder from CRAN with:

install.packages("decoder")

And the development version from BitBucket with:

# install.packages("devtools")
devtools::install_bitbucket("cancercentrum/decoder")

Code of conduct

Please note that the 'decoder' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('decoder')

Monthly Downloads

381

Version

1.1.13

License

GPL-2

Maintainer

Erik Bulow

Last Published

January 8th, 2019

Functions in decoder (1.1.13)

as.keyvalue.list

Coerce a list to keyvalue object
keyvalue

Coerce to a keyvalue object
figo

FIGO-stadium
forsamling

Forsamling (parish code)
as.key

Coerce to key or value in objects in a key-value pair
code

Decode codes to plain text (and vice versa)
icdo3_grov

ICD-O3 Grov
sida

Sida
sjukhus

Hospital codes
t_rtr

T-stadium
tnmgrund

Grund till TNM (patologisk/klinisk)
klinik

Clinic codes
rc

Codes used by RC's kvartalen
distrikt

Distrikt code (district code)
extra_functions

Extra functions to apply to decoded variables using decode
icd7_grov

ICD-7 Grov
region

Regional code
lan

Lan code (county code)
icd9

ICD-9
sjukhus_inca

Hospital codes used by INCA
m_rtr

M-stadium
sjukhus_par

Hospital codes used by Socialstyrelsen and the National Patient Register
snomed3

Snomed 3
summary.keyvalue

Object summary for keyvalue objects
hemort

hemort and hemort2 codes (geographical codes)
icd10

ICD-10 code
icd7

ICD-7
hsn

HSN code (H<U+00E4>lso- och sjukv<U+00E5>rdsn<U+00E4>mnd)
kommun

Kommun code (municipality code)
kon

Gender code (kon)
icdo

ICD-O
icdo3

ICD-O3
sjukvardsomrade

Geographical healthcare areas
snomed

Snomed code
pad0

Pad leading zeros to character
n_rtr

N-stadium
pad

PAD (C24) code
patologiavdelning

Pathology department codes