lookup_emojis: Looks up names, IDs, and/or categories of emojis.

View source: R/lookup_emojis.R

lookup_emojisR Documentation

Looks up names, IDs, and/or categories of emojis.

Description

Looks up names, IDs, and/or categories of emojis based on an input of either names, IDs, or emojis.

Usage

lookup_emojis(input, type)

Arguments

input

A character or integer vector, depending on the type argument.

type

Either "id" (for integer IDs), "emoji" (for emojis), or "name" (for Unicode-assigned names).

Details

Names and categories are assigned by Unicode. IDs are unique to the emoji package. Updated as of Unicode 12.1.

Value

Produces a data frame with four columns for each emoji in the input vector - emoji, name, ID, and category.

Author(s)

Rebecca Godard

References

https://unicode.org/emoji/charts/full-emoji-list.html

See Also

all_emojis

Examples

lookup_emojis(input = c(1:10), type = "id")
lookup_emojis(input = c("\U001f600", "\U002764", "\U001f4aa"), type = "emoji")
Note: Emojis are not supported by the software used to generate package manuals, so
the unicode character codes are used instead.
lookup_emojis(input = c("grinning cat", "hundred points", "monkey face"), type = "name")

rjgodard/emojis documentation built on Nov. 29, 2024, 7:16 p.m.