Data collected from public domains and social media to achieve an average customer sentiment score displayed in a graph.
Uses dates, sentiment score and magnitude as data.
python3
matplotlib - Installation
QtPy5 - Installation
git clone https://github.com/dannyhollman/yhack2019.gitRun the main file for GUI
python3 customer_sentiment_analyzer.py
- twitter - tweets related to jetBlue from 2019 to 2013
- yelp - jetBlue, American, Delta and Spirit reviews collected
date, sentiment
- customer_sentiment_analyzer.py - Main function
def graph_jetblue():- graph for jetblue analytics.def graph_american():- graph for american analytics.def graph_spirit():- graph for spirit analytics.def graph_delta():- graph for delta analytics.
-
american_yelp_sent.json - list of key, values for american.
-
delta_yelp_sent.json - list of key, values for delta.
-
more_twitter_data.json - list of key, values for jetblue.
-
spirit_yelp_sent.json - list of key, values for spirit.
-
dev - developer files.
adaptive.jsonamerican_yelp.jsondelta_yelp.jsonjetblue.jsonjetblue_tripadvisor_sent.jsonjetblue_twitter_sent.jsonjetblue_yelp.jsonjetblue_yelp_sent.jsonmain.pyparse_json_data.pysentiment.pyspirit_yelp.jsontrip_adv_data.pytrip_advisor_to_file.pyyelp_data.pyyelp_reviews.csvyelp_scrape_to_csv.py
This project was our entry into the 2019 Yale Hackathon. The challenge we chose was "Crawl Any/All public domain/social media data to get customer’s sentiments of JetBlue." To accomplish this we collected data from various social media and review sites, ran the data through Google's sentiment analyzer, and graphed the output.