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 Free4 hours14 videos51 exercises22,632 learnersStatement of Accomplishment
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Training 2 or more people?
Try DataCamp for BusinessLoved by learners at thousands of 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.
Training 2 or more people?
Get your team access to the full DataCamp platform, including all the features.In the following Tracks
Marketing Analytics in Python
Go To Track- 1
Basics of Analyzing Twitter Data
FreeWhy 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 - 2
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 - 3
Twitter Networks
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 - 4
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
Training 2 or more people?
Get your team access to the full DataCamp platform, including all the features.In the following Tracks
Marketing Analytics in Python
Go To Trackdatasets
Data Science Hashtag datasetState of the Union Reply Network datasetState of the Union Retweet Networking datasetcollaborators
prerequisites
Data Manipulation with pandasAlex Hanna
See MoreComputational 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 15 million learners and start Analyzing Social Media Data in Python today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.