Description Usage Arguments Value
Replace invalid bytes detected by check_column_encoding
with valid ASCII or UTF-8 characters. Involves manual construction of a
replacement vector (see rep_str
).
1 | ascii_replace(dset, enc_check_results, column_name, rep_str)
|
dset |
A data.frame or data.table. |
enc_check_results |
A list returned by calling
|
column_name |
The name of an element in the list returned by
|
rep_str |
A matrix. The number of rows should equal the length of
|
A data.table with the same structure as dset
but valid UTF-8
bytes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.