Description Usage Arguments Author(s) Examples
View source: R/My_Label_notesJ.r
map code to label at factor levels efficiently in en, fr or sp language
1 | My_Label_notesJ(col_note, SEP = " | ", Lang = "en")
|
col_note |
reference columns code contains 0, 1 or multiple code like C2:158 | C3:485 |
SEP |
separator between multiple code, default " | " |
Lang |
language, default = en, fr, sp also available |
ILO bescond
1 2 3 4 | ################################# use to identify a proper 'DSD'
X %>% mutate( Notes_Source_Label = plyr:::mapvalues(Notes_Source_Code, from = levels(as.factor(Notes_Source_Code)),
to = My_Label_notesJ(levels(as.factor(Notes_Source_Code)),SEP = "_", Lang = Lang)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.