Some emojis can be written in multiple different ways either as
fully-qualified
, minimally-qualified
, or unqualified
. emoji_fix()
will take any emoji and return the fully-qualified
version of that emoji.
Examples
unqualified_ind <- which(emojis$qualified == "unqualified")[1:10]
unqualified <- emojis$emoji[unqualified_ind]
unqualified
#> [1] "☺" "☹" "☠" "❣" "❤🔥" "❤🩹" "❤" "🕳" "👁🗨️" "👁🗨"
emoji_fix(unqualified)
#> [1] "☺️" "☹️" "☠️" "❣️" "❤️🔥" "❤️🩹" "❤️" "🕳️" "👁️🗨️" "👁️🗨️"