powered by
Add label text to code
mkcodelabel(x, codebook, lang = "fi", as.factor.B = TRUE)
character vector of factor containing code value and text
code value (character)
data frame containing codes and text
language used, possible values "fi", "en", and "sv"
should value be converted to factor
Jari Haukka jari.haukka@helsinki.fi
mkcodelabel("CJB10",TPKoodit,"en",FALSE) mkcodelabel("CJB10",TPKoodit) mkcodelabel("I351",ICD10Koodit,"en",FALSE)
Run the code above in your browser using DataLab