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

Copy Link

Version

Install

install.packages('decoder')

Monthly Downloads

381

Version

1.2.1

License

GPL-2

Maintainer

Erik Bulow

Last Published

April 9th, 2020

Functions in decoder (1.2.1)

distrikt

Swedish district codes
extra_functions

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

Coerce a list to keyvalue object
code

Decode codes to plain text (and vice versa)
figo

FIGO-stadium
icdo

ICD-O
atc

Anatomical Therapeutic Chemical (ATC) Classification System codes
hemort

hemort and hemort2 codes (geographical codes)
icdo3

ICD-O3
hsn

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

ICD-10 code
forsamling

Swedish parish codes
icd9

ICD-9
summary.keyvalue

Object summary for keyvalue objects
as.key

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

ICD-7
m_rtr

M-stadium
n_rtr

N-stadium
icdo3_grov

ICD-O3 Grov
icd7_grov

ICD-7 Grov
icd9cmd

ICD-9-CM diagnosis and procedure codes
keyvalue

Coerce to a keyvalue object
t_rtr

T-stadium
lan

Swedish county codes
region

Swedish health care regional codes
sjukvardsomrade

Geographical health care areas
rockan

Help tables from Rockan
kva

Klassifikation av vardatgarder (KVA)
patologiavdelning

Pathology department codes
pad0

Pad leading zeros to character
sjukhus_par

Hospital codes used by Socialstyrelsen and the National Patient Register
snomed3

Snomed 3
pad

PAD (C24) code
snomed

Snomed code
sida

Sida
klinik

Clinic codes
tnmgrund

Grund till TNM (patologisk/klinisk)
kommun

Swedish municipality codes
kon

Gender code (kon)
sjukhus

Hospital codes
sjukhus_inca

Hospital codes used by INCA