Skip to content

LaurentVeyssier/Wine-Dash-app-with-live-tweet-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wine-Dash-app-with-live-tweet-streaming

full app using Dash and tweepy

This app is adapted from excellent tutorials from Eric kleppen here:

The initial code can be found here and has been augmented based on the above papers.

App structure

Replicate the below structure

image

image image image

Required modules

the following modules will be specifically required

  • dash (for the dashboard)
  • plotly (to visualize data within the interactive dashboard)
  • tweepy (to stream live tweets)
  • sqlite3 (for the kaggle wine database)

A twitter dev account is necessary and a twitter API app should be created. The credentials should be used and stored in the config.py file.

image

Finally the wine database can be found on the author's github winapp repository (link above).

How to run the app

The streaming program and the dash application must be run in parallel. The streaming app should be run in one instance python tweepystream.py then the dash app should be run in another instance python index.py. This will allow to have livefeed tweet update in the dash app.

Releases

No releases published

Packages

No packages published

Languages