Skip to content →

Tag: Twitter

Twitter in Economic Research (updated)

Introduction The purpose of this blog post is to provide information and examples for getting Twitter data for academic research. Specifically, I describe how to collect tweets according to specific criteria via the Twitter API using the Python library tweepy. The goal is to use tweepy for retrieving specific tweets and their properties (such as length, number of retweets, number of likes) for a specific hashtag. A comprehensive overview for the tweepy package describing all the functionality is given in the tweepy documentation. Finally, a few examples in an economic framework are given for the application of this kind of analysis. Access…

Leave a Comment