emoji_fix: Turn emojis into qualified emojis

View source: R/emoji_fix.R

emoji_fixR Documentation

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)

Arguments

x

Characters, vector of emojis.

Details

This function is vectorized.

Value

vector of fully-qualified emojis

Examples

unqualified_ind <- which(emojis$qualified == "unqualified")[1:10]
unqualified <- emojis$emoji[unqualified_ind]

unqualified
emoji_fix(unqualified)

emoji documentation built on Oct. 30, 2024, 9:28 a.m.