Taking advantage of Twitter data to investigate sentiments towards environmental issues during the 2016 U.S. presidential election. Big Data in Psychology Conference Trier, Germany 08.06.2018 Dr. Christian Mumenthaler Consumer Decision & Sustainable Behaviour Lab
Big Data, Why Twitter? 14% Daily Active Users Growth 11% 7% 4% 328 Millions of Active Users APIs Q1 2016 Q2 2016 Q3 2016 Q4 2016 Q1 2017 DATA 2 Christian Mumenthaler Big Data in Psychology 2018 DATA SOURCE: TWITTER'S QUARTERLY PRESS RELEASES
Twitter APIs? GET followers GET friends GET statuses/user_timeline GET trends/place GET users/lookup GET search/tweets 3 Christian Mumenthaler Big Data in Psychology 2018 API reference index: https://developer.twitter.com/en/docs/api-reference-index.html
Twitter APIs? GET followers GET friends GET statuses/user_timeline GET trends/place GET users/lookup JSON FILE GET search/tweets 4 Christian Mumenthaler Big Data in Psychology 2018 API reference index: https://developer.twitter.com/en/docs/api-reference-index.html
Twitter APIs? GET followers GET friends GET statuses/user_timeline GET trends/place GET users/lookup GET search/tweets JSON FILE 5 Christian Mumenthaler Big Data in Psychology 2018 API reference index: https://developer.twitter.com/en/docs/api-reference-index.html
Twitter APIs? GET followers GET friends GET statuses/user_timeline GET trends/place GET users/lookup GET search/tweets Returns a collection of relevant Tweets matching a specified query Please note that Twitter s search service and, by extension, the Search API is not meant to be an exhaustive source of Tweets. Not all Tweets will be indexed or made available via the search interface 6 Christian Mumenthaler Big Data in Psychology 2018 API reference index: https://developer.twitter.com/en/docs/api-reference-index.html
Limitations #panamapapers 400K Search API 600 300 200K 30.06.16 14.08.16 28.09.16 01.04.16 16.05.16 30.06.16 14.08.16 28.09.16 7 Christian Mumenthaler Big Data in Psychology 2018
Limitations #panamapapers 1'400K Firehose Search API 6000 3000 700K 30.06.16 14.08.16 28.09.16 01.04.16 16.05.16 30.06.16 14.08.16 28.09.16 7 Christian Mumenthaler Big Data in Psychology 2018
Limitations #panamapapers 1'400K Firehose Search API 6000 3000 700K Morstatter, 2013 30.06.16 14.08.16 28.09.16 01.04.16 16.05.16 30.06.16 14.08.16 28.09.16 7 Christian Mumenthaler Big Data in Psychology 2018
Solution GET followers date x timeline date y Get relevant tweets GET timelines 8 Christian Mumenthaler Big Data in Psychology 2018
Research Question Measure sentiments towards environmental issues during the 2016 U.S. presidential election date x timeline date y Get relevant tweets 8 Christian Mumenthaler Big Data in Psychology 2018
Research Question Measure sentiments towards environmental issues during the 2016 U.S. presidential election From July 2016 to July 2017 timeline date x date y Climate change related tweets Volume Affect 8 Christian Mumenthaler Big Data in Psychology 2018
Network Analysis Trump Republican Party ~10M followers 800K followers Clinton Democrat Party ~ 8.5M followers 600K followers 9 Christian Mumenthaler Big Data in Psychology 2018 NETWORK BASED ON DATA COLLECTED ON SEPTEMBER 2016
Network Analysis Trump Republican Party ~10M followers 800K followers Republicans 70K users timeline 07.2016 07.2017 Clinton Democrat Party ~ 8.5M followers 600K followers 9 Christian Mumenthaler Big Data in Psychology 2018 NETWORK BASED ON DATA COLLECTED ON SEPTEMBER 2016
Network Analysis Trump Republican Party ~10M followers 800K followers Democrats 60K users timeline 07.2016 07.2017 Clinton Democrat Party ~ 8.5M followers 600K followers 9 Christian Mumenthaler Big Data in Psychology 2018 NETWORK BASED ON DATA COLLECTED ON SEPTEMBER 2016
Volume of tweets related to climate change Republicans (~ 35K tweets) Democrats (~ 90K tweets) Debates Election Day 11 Christian Mumenthaler Big Data in Psychology 2018
Volume of tweets related to climate change Republicans (~ 35K tweets) Democrats (~ 90K tweets) Withdraw Paris Agreement Nomination EPA 11 Christian Mumenthaler Big Data in Psychology 2018
Volume in context Republicans ( ~ 35K tweets) Democrats (~ 90K tweets) Climate change Migration Republicans ( ~240K tweets) Democrats (~ 180K tweets) 12 Christian Mumenthaler Big Data in Psychology 2018
Volume in context Climate change Migration Withdraw Paris Agreement Migration Climate change Republicans Jul 2016 Jan 2017 Jul 2017 1 st Debate Nomination EPA Withdraw Paris Agreement Migration Climate change Democrats Jul 2016 Jan 2017 Jul 2017 12 Christian Mumenthaler Big Data in Psychology 2018
Affect in tweets Sentiment Analysis LIWC 1 Emotional Tone 99.0 (positive tone) 1.00 (negative tone) 13 Christian Mumenthaler Big Data in Psychology 2018 1 Linguistic Inquiry and Word Count (LIWC); Pennebaker et al., 2015
Affect in tweets Republicans Democrats Election Day + 11% CI [+4%, +23%]. Bayesian one-sided tail-area probability p = 0.006-13% CI [-18%, -8%]. Bayesian one-sided tail-area probability p = 0.001 14 Christian Mumenthaler Big Data in Psychology 2018
Affect in tweets Republicans Democrats +11 % p = 0.006 Climate change -13% p = 0.001 +9% p = 0.001 Migration - 7 % p = 0.024 15 Christian Mumenthaler Big Data in Psychology 2018
Election Day Republicans Democrats 16 Christian Mumenthaler Big Data in Psychology 2018
Conclusions Insights on human behaviour 2016 U.S. presidential election Polarisation of Attitudes toward Climate Change Acquisition Preprocessing Analysis Insights 17 Christian Mumenthaler Big Data in Psychology 2018
Thank you very much for your attention Dr. Christian Mumenthaler Consumer Decision & Sustainable Behaviour Lab christian.mumenthaler@unige.ch 18 Christian Mumenthaler Big Data in Psychology 2018