This is the README file for tweet-keywords
.
Author: @christinesfkao
MMM/YYYY: Sep 2020
Rscript grep_keywords.R
This R script helps grepping keywords from tweets provided by the Information Operations of Twitter.
- copy and paste all the links of
.zip
files you would like to download intourl.txt
, one url for each line - make your own list of keywords to
keywords.txt
, one keyword for each line - put
url.txt
andkeywords.txt
into the directory/tweet-keywords
- R version 3.5.1+
- Packages to install
- data.table
- bit64
tweets/ <all given input files>
outputs/ <all output files>
grep_keywords.R
url.txt <Example: All "tweet information" link locations, updated Sep 5th, 2020>
README.md
cd tweet-keywords/tweets
wget -i ../url.txt
unzip '*.zip'
Rscript ../grep_keywords.R