Working with sentiment analysis.
R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AFINN
polarityData
.Rhistory
.gitattributes
.gitignore
negative-words.txt
positive-words.txt
readme.md
sentiment_analysis.R

readme.md

README

Steps to Run

  1. Install and launch R. I like to use RStudio.
  2. Create a directory called sentiment_analysis. From the command line: mkdir sentiment_analysis
  3. Open up that directory. From the command line: cd sentiment_analysis
  4. Clone this repository. From the command line: git clone git@github.com:abromberg/sentiment_analysis.git
  5. Open the file sentiment_analysis.R in RStudio.
  6. Make sure your working directory is the sentiment_analysis directory. From RStudio, you can go to Tools -> Set Working Directory -> Choose Directory. Or you can run the command setwd('path/to/directory')
  7. Select 'Run' to execute the program.

More Documentation

For more documentation, check out the blog post about this code here.