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.Start Course for Free
4 Hours14 Videos51 Exercises19,687 Learners
Create Your Free Account
Loved by learners at thousands of companies
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.
Basics of Analyzing Twitter DataFree
Why analyze Twitter, how to access Twitter APIs, and understanding Twitter JSON.Analyzing Twitter data50 xpWhy Analyze Twitter Data?50 xpUses of Twitter analysis50 xpCollecting data through the Twitter API50 xpTwitter APIs50 xpSetting up tweepy authentication100 xpCollecting data on keywords100 xpUnderstanding Twitter JSON50 xpLoading and accessing tweets100 xpAccessing user data100 xpAccessing retweet data100 xp
Processing Twitter text
How to process Twitter text.Processing Twitter text50 xpTweet Items and Tweet Flattening100 xpA tweet flattening function100 xpLoading tweets into a DataFrame100 xpCounting words50 xpFinding keywords100 xpLooking for text in all the wrong places100 xpComparing #python to #rstats100 xpTime series50 xpCreating time series data frame100 xpGenerating mean frequency100 xpPlotting mean frequency100 xpSentiment analysis50 xpLoading VADER100 xpCalculating sentiment scores100 xpPlotting sentiment scores100 xp
Network analysis with Twitter data.Twitter networks50 xpTypes of Twitter networks50 xpWhich direction is the arrow?50 xpImporting and visualizing Twitter networks50 xpCreating retweet network100 xpCreating reply network100 xpVisualizing retweet network100 xpIndividual-level network metrics50 xpIn-degree centrality100 xpBetweenness centrality100 xpRatios100 xp
Putting Twitter data on the map
How to map Twitter data.Maps and Twitter data50 xpMotivations50 xpComparisons50 xpGeographical data in Twitter JSON50 xpCoordinates and bounding boxes50 xpAccessing user-defined location100 xpAccessing bounding box100 xpCalculating the centroid100 xpCreating Twitter maps50 xpCreating Basemap map100 xpPlotting centroid coordinates100 xpColoring by sentiment100 xpCongratulations!50 xp
In the following tracksMarketing Analytics with Python
DatasetsData Science Hashtag datasetState of the Union Reply Network datasetState of the Union Retweet Networking dataset
PrerequisitesData Manipulation with pandas
Alex HannaSee More
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.
What do other learners have to say?
Join over 11 million learners and start Analyzing Social Media Data in Python today!
Create Your Free Account