powered by
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.
fully-qualified
minimally-qualified
unqualified
emoji_fix()
emoji_fix(x)
vector of fully-qualified emojis
Characters, vector of emojis.
This function is vectorized.
unqualified_ind <- which(emojis$qualified == "unqualified")[1:10] unqualified <- emojis$emoji[unqualified_ind] unqualified emoji_fix(unqualified)
Run the code above in your browser using DataLab