Grepping keywords from tweets provided by Twitter
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.
.zip
files you would like to download into url.txt
, one url for each linekeywords.txt
, one keyword for each lineurl.txt
and keywords.txt
into the directory /tweet-keywords
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