I have a dataset that contains a lot of sentences, and I'd like to pull emojis in order to understand which emojis were used most.
Here is the data:
df <- tribble(
~sentence,
"Ask yourself: “Does this person fully understand all of their responsibilities?",
"What do you see as the reason for it? ",
"Your goal is to get perspective on the situation. ✅"
)
The desired output could be something like this:
df <- tribble(
~emojis, ~used,
"", 1,
"", 2,
"", 1,
"✅", 1,
)
How can I do this?