Interactive Course

Analyzing Social Media Data in Python

In this course, you'll learn how to collect Twitter data and analyze Twitter text, networks, and geographical origin.

  • 4 hours
  • 14 Videos
  • 51 Exercises
  • 10,888 Participants
  • 4,000 XP

Loved by learners at thousands of top companies:


Course Description

Twitter produces hundreds of million messages per day, with people around the world discussing sports, politics, business, and entertainment. You can access thousands of messages flowing in this stream in a matter of minutes. In this course, you will learn how to collect Twitter data and analyze tweet text, Twitter networks, and the geographical origin of the tweet. We'll be doing this with datasets on tech companies, data science hashtags, and the 2018 State of the Union address. Using these methods, you will be able to inform business and political decision-making by discovering the prevalence of important topics, the diversity of discussion networks, and a topic's geographical reach.

  1. 1

    Basics of Analyzing Twitter Data


    Why analyze Twitter, how to access Twitter APIs, and understanding Twitter JSON.

  2. Processing Twitter text

    How to process Twitter text.

  3. Twitter Networks

    Network analysis with Twitter data.

  4. Putting Twitter data on the map

    How to map Twitter data.

What do other learners have to say?


“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group


“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School


“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Alex Hanna
Alex Hanna

Computational Social Scientist

Alex Hanna is a computational social scientist working in the areas of politics, natural language processing, and fairness in machine learning and artificial intelligence.

See More
Icon Icon Icon professional info