Skip to contents

Detect & summarise

emoji_summary()
Summarise emoji presence in a text column
emoji_filter() emoji_tweets()
Keep only the rows whose text contains emoji

Count

emoji_frequency()
Frequency of every emoji in a text column
top_n_emojis()
The most frequent emoji in a text column

Extract

emoji_extract_nest()
Add a list-column of the emoji found in each row
emoji_extract_unnest()
Emoji counts per row, in long (tidy) form
emoji_tokens()
Tidy emoji tokens, one row per occurrence with metadata

Categorise & score

emoji_categorize()
Categorise each row by the emoji categories it contains
emoji_sentiment()
Score the sentiment of the emoji in each row
emoji_emotion()
Emoji emotion profiles (the 8 Plutchik emotions)
emoji_emotion_label()
The dominant emoji emotion per row

Lexicon API

emoji_lexicons()
List bundled emoji lexicons
register_emoji_lexicon()
Register a custom emoji lexicon
emoji_score()
Score emoji in a text column against any lexicon

Relate

emoji_pairs()
Co-occurring emoji pairs
emoji_cooccurrence()
Emoji co-occurrence counts, with an optional diagonal
emoji_ngrams()
Consecutive emoji sequences (n-grams)

Measure

emoji_position()
Where do emoji sit within each text?
emoji_density()
Emoji density per character and per token
emoji_ratio()
What share of the text is emoji — and is it emoji-only?

Model features

emoji_dfm()
Document-by-emoji feature matrix
emoji_to_text()
Replace emoji in a text column with words (demojize)
text_to_emoji()
Replace shortcodes with emoji (emojize)
as_emoji_name() as_emoji_shortcode() as_emoji()
Vector helpers: convert emoji to/from names and shortcodes
emoji_search()
Search emoji by keyword, name or shortcode

Data

emoji_sentiment_lexicon
Emoji Sentiment Ranking lexicon
emoji_emotion_lexicon
Emoji emotion lexicon (EmoTag1200)
emoji_unicode_crosswalk
Emoji name, unicode and category crosswalk
category_unicode_crosswalk
Emoji category to unicode crosswalk