an introduction to emoji data science

32
Hamdan Azhar [email protected] // @ hamdanazhar // November 5, 2016 s,s, & major s an introduction to emoji data science

Upload: hamdan-azhar

Post on 21-Jan-2017

401 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: An introduction to emoji data science

Hamdan [email protected] // @hamdanazhar

// November 5, 2016

🐍s, s, & major s🌹 🔑an introduction to emoji data science

🗃📊🗞

Page 2: An introduction to emoji data science

why emoji data science?

Page 4: An introduction to emoji data science
Page 5: An introduction to emoji data science
Page 6: An introduction to emoji data science

emojis data science

Page 7: An introduction to emoji data science

Overarching goals

■Understanding what emojis mean

■Using emojis to understand the topics we use them to discuss

■Getting past the “so what” hurdle and defining good questions to ask

Page 8: An introduction to emoji data science

the birth of

Page 9: An introduction to emoji data science

My reaction to this article,in emoji

Page 10: An introduction to emoji data science

So we decided to look at some actual data

Page 11: An introduction to emoji data science

Getting the data■ Use Twitter API to sample 100,000 tweets for five hashtags related

to Britain’s EU Referendum Hashtags: #NotMyVote, #VoteRemain, #EURef, #Brexit, #VoteLeave Data pulled for June 24, the day after the referendum English language tweets only

After removing retweets, we’re left with 23,989 unique tweets, i.e. the “Brexit dataset”

Of these, 1,505 tweets (6.3%) contain at least one emoji

Page 12: An introduction to emoji data science

Analyzing the data Use regular expressions in R, along with Unicode emoji

dictionaries, to extract emojis from tweets

Compute emoji counts in the Brexit dataset

Compare with counts for all >10B emoji tweets on Twitter since 2013 (from emojitracker.com)

Extract hashtags from tweets and compute hashtag profiles for various emojis

Page 13: An introduction to emoji data science

emoji emoji namebrexi

t rank

general

rankbrexit index*

general

index*overinde

x**😂 face with tears of joy 1 1 100 100  

flag of united kingdom 2 363 87 0.2 400x

👍 thumbs up sign 3 18 26 11 2.3x👏 clapping hands sign 4 45 24 6 3.9x❤ heavy black heart 5 3 21 45  😭 loudly crying face 6 7 17 29  😔 pensive face 7 13 14 18  😩 weary face 8 11 13 22  😢 crying face 9 27 12 9 1.3x🙈 see-no-evil monkey 10 24 12 9 1.3x* Index is an estimate of how prevalent a given emoji is in Brexit tweets and general tweets, with the most common emoji (😂) being

defined as 100

** Reflects how much more likely a given emoji is to be used in a Brexit tweet vs. generally on Twitter (general rank and index obtained from emojitracker.com). An emoji overindexes on Brexit if both brexit rank < general rank AND brexit index > general index.

Which emojis over-index most heavily for Brexit?(above and beyond their usual popularity on Twitter)

Page 14: An introduction to emoji data science

Finding the “hashtag signature” of a given emoji We know the distribution of

hashtags in our entire dataset We can pick a given emoji and

compute the distribution of hashtags for tweets that use that emoji

By comparing these two distributions, we can estimate which hashtags an emoji is most likely to be used with

15%

17%

20%

29%

19%

Page 15: An introduction to emoji data science
Page 16: An introduction to emoji data science

Hashtag signatures of the top emojis of Brexit

Page 17: An introduction to emoji data science

http://motherboard.vice.com/read/the-emojis-of-great-brexit

Page 18: An introduction to emoji data science
Page 19: An introduction to emoji data science

Taylor Swift is winning hearts (and minds)

Source: Analysis of 100,000 public tweets

mentioning @taylorswift13 and @kanyewest from

Aug. 1-4, 2016. (PRISMOJI)

equal

higher association with

@taylorswift13

higher association with

@kanyewest

Page 20: An introduction to emoji data science

Hearts vs. Snakes:The emoji battle underyling the epic Taylor Swift – Kanye West feud

Source: Analysis of 100,000 public tweets

mentioning @taylorswift13 and @kanyewest from

Aug. 1-4, 2016. (PRISMOJI)

Page 21: An introduction to emoji data science

#taylorswiftwhatup is the most common hashtag in tweets about both Taylor and Kanye

Source: Analysis of 100,000 public tweets

mentioning @taylorswift13 and @kanyewest from

Aug. 1-4, 2016. (PRISMOJI)

Page 22: An introduction to emoji data science
Page 23: An introduction to emoji data science

Our common emoji language of #fanlove

Source: Analysis of 250,000 public tweets

mentioning @beyonce, @justinbieber,

@djkhaled, @drake, and @rihanna from

Aug. 1-4, 2016. (PRISMOJI)

Page 24: An introduction to emoji data science

Sometimes love hurtsExamples of in tweets involving #fanlove

Source: Analysis of 250,000 public tweets

mentioning @beyonce, @justinbieber,

@djkhaled, @drake, and @rihanna from

Aug. 1-4, 2016. (PRISMOJI)

Page 26: An introduction to emoji data science

Some more examples

Page 27: An introduction to emoji data science

#firstsevenjobs

Source: Analysis of 32,979 public tweets with

the hashtags #firstsevenjobs and

#first7jobs from Aug. 8, 2016. (PRISMOJI)

Page 28: An introduction to emoji data science

Understanding gendered emojis on Twitter#wcw vs #mcm: All hearts are not created equal

higher association

with

#mcm

higher association

with

#wcw

Source: Analysis of 100,000 public tweets

with the hashtags #wcw and #mcm from June 27-

29, 2016. (PRISMOJI)

Page 29: An introduction to emoji data science

#Rio2016 Olympics

Source: Analysis of 449,680 public tweets mentioning #rio2016

fromAug. 6-22, 2016.

(PRISMOJI)

higher association with

FIRST 3 DAYS

higher association with

LAST 3 DAYS

Page 30: An introduction to emoji data science

Third Presidential Debate

Source: Analysis of public tweets during

third presidential debate on

Oct. 20, 2016. (PRISMOJI)

Page 31: An introduction to emoji data science

Three takeaways I’d like you to leave with■Understanding emojis as data can yield

interesting insights

■More work is needed to learn more about what emojis mean, and what they reveal about our world

■You can play around with emoji data too

Page 32: An introduction to emoji data science

Thank you!

• Email: [email protected]• Twitter: @hamdanazhar• prismoji.com• hamdanazhar.com