Description Usage Arguments Details Value Author(s) Examples
emoji_to_text
applies replaces emojis and accents with
corresponding english characters/phrases in a vector of strings.
1 | emoji_to_text(vector, accents = FALSE, delete = FALSE)
|
vector |
a vector of character strings. |
accents |
a boolean which is TRUE if user wants to replace accents, and FALSE otherwise. |
delete |
a boolean which is TRUE if user wants to delete bytes that are not matched to an emoji or accent. |
This function identifies emojis and accents within a text string and replaces them
with their corresponding english characters/phrases using Emojis
and Accents
reference dataframes.
a vector of character strings.
Kelly Jamrog <kjamrog@wesleyan.edu>
Jacob Kuruvilla <jkuruvilla@wesleyan.edu>
Kim Pham <spham@wesleyan.edu>
1 2 3 4 5 6 | ## Not run:
test <- c("Hi Röb, whats up 😬")
emoji_to_text(test, accents=TRUE)
#[1] "Hi Rob, whats up (grimacing face)"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.