Learn R Programming

emoji (version 15.0)

emoji_fix: Turn emojis into qualified emojis

Description

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.

Usage

emoji_fix(x)

Value

vector of fully-qualified emojis

Arguments

x

Characters, vector of emojis.

Details

This function is vectorized.

Examples

Run this code
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