Industrial IOT Dashboard
Borrowed heavily from https://github.com/adilmoujahid/kaggle-talkingdata-visualization please attribute
#Dependencies
Postgres, R (dplyr, RPostgreSQL packages), and Python
2.7.x and 3 Python
libraries: Pandas
, Flask
, Shapely
.
The easiest way to install Pandas
is to install it as part of the Anaconda distribution.
You can install Flask
and Shapely
using pip
.
pip install flask shapely psycopg2 urlparse
#How to run the code
- Install all Python, R, and Postgres dependencies
- Make sure that postgres database is running
- Update postgres access strings in R and app.py
- Run R code to seed the database
- From the root folder, run
python app.py
NOTE: events data is from the dataset ( events.csv) from Kaggle. You need to create a Kaggle account and agree to the competition rules to download the data.