Skip to content

Commit

Permalink
merged readme files
Browse files Browse the repository at this point in the history
  • Loading branch information
sheikhshafayat committed Jun 6, 2022
1 parent 92ac32e commit d098645
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,24 @@ To execute the default code, simply stand on the main directory and run:
### Running

To execute the default code, enter the `DataAnalysis` directory, run the `requirements.R` script to install necessary dependencies, and finally run the `main.R` script.

# How to handle my files ~ Sheikh

## Naming convention of the csv files used here:
> All the data files are kept in: ./SentimentAnalysis/data/q3/May30Scrap
1. Files containing the tweets themselves are imported as foxnews and nytimes. They contain all the tweets that had been scrapped using Nikita's query (and contains replies). These files are named as foxalltweets and nytalltweets in the folder
2. Files that ONLY contain the tweets from the news sources are imported as foxtitle and nytitle
The reason to scrap the tweets of no 2 is that for question 1, I used them to find some observations that is impossible to find using data used in 1, as they are already filtered to contain Ukrainan tweets.

## Data Analysis
> All the R files used for data analysis is kept here: ./DataAnalysis/Q3
>> There is a folder called Figues, which contains some corresponding output figures, however, some of them contain figures generated from old data, so better not to be meddled with. We can generate new figues instantly from our R files
The names of the R files are self explanatory for what they do. Still some points:
- trigramWordCloud.R doesn't work as expected, so we didnt' use its output.
- Q3TitleAnalysis.R and NumberofWarRelatedTweets.R are the files that uses data scrapped in 2.
- Q3SidebySideBar plots the overall sentiment of the tweets bar plot
- For wordcloud files after running the entire code, running the function on the terminal using proper dataset and parameters would give proper result



20 changes: 0 additions & 20 deletions READMESHEIKH.md

This file was deleted.

0 comments on commit d098645

Please sign in to comment.