There are two stages to this project. The first stage found in the root directory was an exercise in pulling the data from the Yelp pages and exporting them to an Excel spreadsheet for simple, manual analysis.
The second stage to this project was utilizing Google Cloud API to automate the sentiment analysis, and then outputting that result to Excel for even more detailed analysis. This is found in the 'sentiment analysis' folder, and is where the main functional Python file, datapullSentiment.py is found.
- Open datapullSentiment.py with a text editor
- Assign the mainUrl variable with the Yelp link
- Adjust the number of pages to scan
- Assign the output directory and filename
- Open the Terminal and locate the directory the file is stored in
- Run
python3 datapullSentiment.py
and wait for the program to complete - Locate output file in chosen directory