Turn factor or character columns of a data.table into ASCII characters
a data.table containing columns to be converted
Dual functionality: turn factors into a characters, and ensure those characters are encoded as ASCII. Converting to ASCII relies on the
stringi package, particularly
stringi::stri_enc_mark (for detection of non-ASCII) and
stringi::stri_enc_toascii (for conversion to ASCII).
This function is used when resaving data sets when building the package to ensure that it is portable.
NULL (invisibly), but affects the contents of the data.table whose name was passed to this function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.