text_to_emoji() returns a copy of data with its text column rewritten so
that every :shortcode: token is replaced by the corresponding emoji glyph
(the inverse of emoji_to_text() with format = "shortcode"). Shortcodes
that do not match a known emoji are left unchanged.
See also
emoji_to_text(); as_emoji() for the vector helper.
Examples
df <- data.frame(text = "hi :grinning: bye :waving_hand:")
text_to_emoji(df, text)
#> # A tibble: 1 × 1
#> text
#> <chr>
#> 1 hi 😀 bye 👋