My_Transform_notesJ: transform code efficiently inside one columns in en, fr or sp...

Description Usage Arguments Author(s) Examples

Description

transform code efficiently inside one columns in en, fr or sp language used for csv upload format

Usage

1
My_Transform_notesJ(col_note, SEP = " | ")

Arguments

col_note

reference columns code contains 0, 1 or multiple code like C2:158 | C3:485, will be transform as #485$NA_#485$NA

SEP

separator between multiple code, default " | "

Author(s)

ILO bescond

Examples

1
2
3
4
################################# use to identify a proper	'DSD'		 

X %>%	mutate(	Notes_Source_Code = 	mapvalues(Notes_Source_Code,	from = levels(as.factor(Notes_Source_Code)), 
																		to = My_Transform_notesJ(levels(as.factor(Notes_Source_Code)),SEP = "_")))

dbescond/Ariane documentation built on May 15, 2019, 1:20 a.m.