Learn R Programming

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("remotes")
remotes::install_bitbucket("cancercentrum/decoder")

Copy Link

Version

Install

install.packages('decoder')

Monthly Downloads

381

Version

1.2.2

License

GPL-2

Maintainer

Erik Bulow

Last Published

April 22nd, 2020

Functions in decoder (1.2.2)

icdo3

ICD-O3
pad0

Pad leading zeros to character
icd9cmd

ICD-9-CM diagnosis and procedure codes
as.key

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

Swedish health care regional codes
rockan

Help tables from Rockan
keyvalue

Coerce to a keyvalue object
kva

Klassifikation av vardatgarder (KVA)
icdo

ICD-O
kon

Gender code (kon)
icd9

ICD-9
icdo3_grov

ICD-O3 Grov
summary.keyvalue

Object summary for keyvalue objects
patologiavdelning

Pathology department codes
icd7_grov

ICD-7 Grov
sjukhus_inca

Hospital codes used by INCA
snomed3

Snomed 3
lan

Swedish county codes
icd7

ICD-7
icd10cm

ICD-10-CM code
m_rtr

M-stadium
n_rtr

N-stadium
klinik

Clinic codes
icd10se

ICD-10-SE code
kommun

Swedish municipality codes
sjukhus

Hospital codes
snomed

Snomed code
sida

Sida
tnmgrund

Grund till TNM (patologisk/klinisk)
t_rtr

T-stadium
sjukvardsomrade

Geographical health care areas
pad

PAD (C24) code
sjukhus_par

Hospital codes used by Socialstyrelsen and the National Patient Register
extra_functions

Extra functions to apply to decoded variables using decode
as.keyvalue.list

Coerce a list to keyvalue object
atc

Anatomical Therapeutic Chemical (ATC) Classification System codes
code

Decode codes to plain text (and vice versa)
hsn

HSN code (H<U+00E4>lso- och sjukv<U+00E5>rdsnamnd)
hemort

hemort and hemort2 codes (geographical codes)
figo

FIGO-stadium
forsamling

Swedish parish codes
distrikt

Swedish district codes