https://github.com/wesslen/summer2017-socialmedia
Summer 2017 Social Media Analytics Workshop Series
https://github.com/wesslen/summer2017-socialmedia
facebook-api geospatial r text-as-data twitter-api
Last synced: 8 months ago
JSON representation
Summer 2017 Social Media Analytics Workshop Series
- Host: GitHub
- URL: https://github.com/wesslen/summer2017-socialmedia
- Owner: wesslen
- Created: 2017-07-17T19:38:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-19T02:53:44.000Z (about 8 years ago)
- Last Synced: 2024-03-14T18:40:40.789Z (over 2 years ago)
- Topics: facebook-api, geospatial, r, text-as-data, twitter-api
- Language: HTML
- Size: 22.5 MB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social Media Analytics Summer Workshop Series with R
## Sponsored by
* [Project Mosaic](https://projectmosaic.uncc.edu/)
## Date, Time and Location
* July 18 (Part 1), July 20 (Part 2), and July 27 (Part 3)
* 9:30 am - 12:30 pm
* Kennedy 234
## Instructor
* [Ryan Wesslen](http://wesslen.github.io)
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).
## Schedule for the Workshops
| Day 1: Tues July 18 | Acquiring Social Media Data via APIs (Twitter and Facebook) |
| ------------------- | ------------------------------------------------------- |
| Lecture | [Introduction to Social Media Analytics](./slides/intro.pdf) |
| Hands On Tutorial | [Facebook API](./day1/facebook-api.Rmd) |
| Hands On Tutorial | [Twitter REST API](./day1/twitter-rest.Rmd) |
| Hands On Tutorial | [Twitter Streaming API](./day1/twitter-streaming.Rmd) |
| Day 2: Thur July 20 | Querying, Handling and Visualizing Social Media Data |
| ------------------- | ------------------------------------------------------- |
| Lecture & Demo | Social Media Viz Demos & [Keyword Search Tips](https://wesslen.github.io/assets/documents/presentations/Social-Media-Seminar-Part1.pdf)
| Hands On Tutorial | [Data Management for Twitter Streaming API Data](./day2/streaming-data.Rmd) / [HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day2/streaming-data.html) |
| Hands On Tutorial | [Querying Twitter Data](./day2/twitter-querying.Rmd) / [HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day2/twitter-querying.html) |
| Hands On Tutorial | [Twitter Social Networks](./day2/twitter-social-networks.Rmd) / [HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day2/twitter-social-networks.html)|
| Hands On Tutorial | [Twitter Followers](./day2/twitter-followers.Rmd) / [HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day2/twitter-followers.html) |
| Day 3: Thur July 27 | Text as Data: Analyzing Social Media Content |
| ------------------- | ------------------------------------------------------- |
| Lecture | [Text as Data for Social Media](./slides/textasdata.pdf) |
| Case Study | [Dictionary-based ](./day3/textasdata-dictionaries.Rmd) / [HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day3/textasdata-dictionaries.html) |
| Case Study | [Supervised Machine Learning ](./day3/textasdata-supervised.Rmd)[HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day3/textasdata-supervised.html) |
| Case Study | [Topic Modeling ](./day3/textasdata-topicmodeling.Rmd) / [HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day3/textasdata-topicmodeling.html) |
| Optional | [Word Embedding (GloVe)](./day3/word-embedding.Rmd) / [HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day3/word-embedding.html) |
| Optional | [Emoji Sentiment Analysis](./day3/emoji-sentiment.Rmd) / [HTML](https://rawgit.com/wesslen/summer2017-socialmedia/master/day3/emoji-sentiment.html) |
## Setup and Preparation
### R Knowledge
This workshop assumes you have basic knowledge of how to :
* Set your working directory
* Install R packages via CRAN
* Handle R dataframes with [`tidyverse`](http://tidyverse.org/) packages like [`ggplot`](http://ggplot2.tidyverse.org/), [`dplyr`](http://dplyr.tidyverse.org/), and [`readr`](http://readr.tidyverse.org/)
* [`rmarkdown`](http://rmarkdown.rstudio.com/articles_intro.html) 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](https://github.com/geanders/RProgrammingForResearch/raw/master/slides/CourseNotes_Week1.pdf). This is the introduction to her great [R Programming for Research Workshop Materials](https://github.com/geanders/RProgrammingForResearch), which I strongly suggest if you're looking for R introduction materials.
### Preparation
You will need [R](https://cran.r-project.org/) and [RStudio](https://www.rstudio.com/) installed on your laptop.
Also, please install these packages by running this code:
```{r}
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)
```
### Downloading Materials
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).