Skip to content

This project performs sentiment analysis on the NBA game derived from Twitter data.

Notifications You must be signed in to change notification settings

BhavikaBhanushali/NBA_Twit_Sent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbaTwitSent

Objective of

This project performs sentiment analysis on the NBA derived from Twitter data.

  • /app - webapp files
  • /data - database related files
  • /twitter - twitter data collection files
  • /nba_stats - nba statistics collection files

Getting started

Collecting tweets
  1. Install python3
  2. Install tweepy
  • 'pip install tweepy'
  1. Install textblob
  • 'pip install textblob'
  • 'python -m textblob.download_corpora'
  1. Change directory to the data folder
  2. Run db_prep.py
  3. Change directory to the twitter folder
  4. Add twitter credentials to credentials.py
  5. Run twitter.py
Collecting nba stats
  1. Install python3
  2. Install nba_py
  • 'pip install nba_py'
  1. Change directory to nba_stats
  2. Run create_db.py
  3. Run nba_stats.py
Running webapp
  1. Install nodejs
  2. Change directory to app
  3. Install required node modules
  • 'npm install'
  1. Run server
  • 'node server.js'

TODO:

Frontend:
  • Make use of API
Backend:
  • Add more API calls
  • nba_stats needs to run daily
  • Code cleanup
  • combine db_prep and create_db

About

This project performs sentiment analysis on the NBA game derived from Twitter data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published