-
July 18 (Part 1), July 20 (Part 2), and July 27 (Part 3)
-
9:30 am - 12:30 pm
-
Kennedy 234
This three part workshop series will cover three major tools for computational social scientist toolkit to analyze social media data. In addition to hands-on working materials, each workshop will include 2-3 important research papers and GitHub repositories.
Many of the tools were created by political scientists and therefore most examples will focus on political-related events although they can easily be applied to other social sciences (e.g., geography, communications, management, sociology, public health).
Day 1: Tues July 18 | Acquiring Social Media Data via APIs (Twitter and Facebook) |
---|---|
Lecture | Introduction to Social Media Analytics |
Hands On Tutorial | Facebook API |
Hands On Tutorial | Twitter REST API |
Hands On Tutorial | Twitter Streaming API |
Day 2: Thur July 20 | Querying, Handling and Visualizing Social Media Data |
---|---|
Lecture & Demo | Social Media Viz Demos & Keyword Search Tips |
Hands On Tutorial | Data Management for Twitter Streaming API Data / HTML |
Hands On Tutorial | Querying Twitter Data / HTML |
Hands On Tutorial | Twitter Social Networks / HTML |
Hands On Tutorial | Twitter Followers / HTML |
Day 3: Thur July 27 | Text as Data: Analyzing Social Media Content |
---|---|
Lecture | Text as Data for Social Media |
Case Study | Dictionary-based / HTML |
Case Study | Supervised Machine Learning HTML |
Case Study | Topic Modeling / HTML |
Optional | Word Embedding (GloVe) / HTML |
Optional | Emoji Sentiment Analysis / HTML |
This workshop assumes you have basic knowledge of how to :
- Set your working directory
- Install R packages via CRAN
- Handle R dataframes with
tidyverse
packages likeggplot
,dplyr
, andreadr
rmarkdown
knowledge
It's ok if you're not familiar with these tools, but if you are not, please look over Brooke Anderson's helpful R Introduction Slides. This is the introduction to her great R Programming for Research Workshop Materials, which I strongly suggest if you're looking for R introduction materials.
You will need R and RStudio installed on your laptop.
Also, please install these packages by running this code:
packages <- c("tidyverse","Rfacebook","twitteR","streamR","rmarkdown","devtools",
"quanteda","stm","tidytext","tidyr","wordcloud","reshape2",
"rvest","Unicode","pairsD3","stringr","igraph","edgebundleR",
"doMC","glmnet","topicmodels","LDAvis")
install.packages(packages)
To download the materials, please click the "Clone or Download" button in the top right of this page. Then save the materials as a zip file onto your computer (e.g., Desktop).