By Rodrigo Esteves de Lima Lopes University of Campinas rll307@unicamp.br
In this workshop I (Rodrigo de Lima-Lopes) am going to discuss some strategies of Twitter text analysis. It is part of my CNPq - project and seeks to make corpus tools and R
accessible.
Please feel free to tell us your opinion regarding the codes and tutorial. If you think some improvement is necessary, please let us know.
This workshop is intended to be a hands-on introduction, so some important issues might be left behind due to lack of time.
Each markdown file (*.md) brings a set of comments and commands regarding part of this workshop, while R
files (*.R) are the actual scripts for the exercises we are going to perform.
The blueprints cover the instalation of the necessary software (which needs to be done before the workshop) and the excercices we are going to discuss.
- Brief introduction to R IDE
- 01_R.md: Installation of R
- 02_IDE.md: Installation of IDEs and their functions
- 04_Installing_Packages: How to install packages
- Brief introduction to
R
syntax- 03_basics: Some basic R Syntax
- 03_basics.R: Script in R language
- Collecting and saving Twitter data
- 05_rtweet_E1: Data scraping
- 05_rtweet_E1.R: Script in R language
- 07_rtweet_E2: Processing Wordlists
- 07_rtweet_E2.R: Script in R language
- 09_quanteda_E3: Comparison amongst candidates
- 09_quanteda_E3.R: Script in R language
- 11_quanteda_E4: Analysing networks
- 11_quanteda_E4.R: Script in R language
- Visual representations and some analysis
- 06_plotting: First tweet series of plots
- 06_plotting.R: Script in R language
- 08_plotting: First word plotting
- 08_plotting.R: Script in R language
- 10_plotting: Candidates comparison
- 10_plotting.R: Script in R language
- 12_plotting: Analysing networks
- 12_plotting.R: Script in R language
Twitter changes its policies constantly. Please, review this code before using it.