View source: R/unicode_to_ascii.R
unicode_to_ascii | R Documentation |
Convert from Unicode to ASCII
unicode_to_ascii(x, ...)
## Default S3 method:
unicode_to_ascii(x, verbose = FALSE, ...)
## S3 method for class 'character'
unicode_to_ascii(
x,
verbose = FALSE,
pattern = c("μ", "µ"),
replacement = c("u", "u"),
general_conversion = TRUE,
...
)
## S3 method for class 'factor'
unicode_to_ascii(x, ...)
## S3 method for class 'logical'
unicode_to_ascii(x, verbose = FALSE, ...)
## S3 method for class 'data.frame'
unicode_to_ascii(x, verbose = FALSE, ...)
## S3 method for class 'list'
unicode_to_ascii(x, verbose = FALSE, ...)
x |
Object that may contain character strings for conversion. |
verbose |
Provide messages about number of values changed. |
pattern, replacement, ... |
Passed to |
general_conversion |
After the initial, specific conversions, run
|
An object of the same class as x
with Unicode characters
converted to ASCII.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.