encode_special_char: encodes non alpha numeric or underscore characters into hex.

View source: R/encoding_decoding.R

encode_special_charR Documentation

encodes non alpha numeric or underscore characters into hex.

Description

Non alpha numeric text (eg [a-zA-Z0-9_]) is converted to its unicode hex value _hx[0-9A-F]2_

Usage

encode_special_char(char_vector)

Arguments

char_vector

character vector that will be encoded

Details

encoding_decoding there are a lot of characters that aren't friendly for data.frame,/data.table operations as well as modeling and other functions. Functions here will encode r decode those values so they don't need so much manual intervention ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ encode_special_char ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.