Giter Club home page Giter Club logo

oil_dashboard's Introduction

oil_dashboard

WTI Crude Pricing Dashboard

The dashboard consists of two python files and an empty “assets” folder. The runme.py file runs the dash server and does all the background work. The oil_data_lib.py file contains the functions we wrote for web scraping, data wrangling and database transactions.

The assets folder is used to store the word cloud photos displayed by in the dashboard. It is empty before the program is run, but will slowly fill out with a new image for every update. The folder does not clean itself, so an eye should be kept on its growing size. In a future version of this code, we plan on automatic this as part of the cleanup (we were forced to create new files each time in order to get around a stubborn browser caching issue that would not results in the image updating). The program will create its own database file in the folder it is run from.

The system takes a few minutes to initialize, given the data loading and model training required upfront. Once the terminal output stops displaying new lines, the system is running. Dash produces a web server that can be accessed by simply going to http://127.0.0.1:8050/ in any browser. More details are available in the terminal output of our program.

It is worth noting that many of the packages described above, and which are imported in our code, might require installation before the Dash can run properly. All of those can be installed quickly with simple pip install commands.

Ideally, the program should be restarted every day. The reason for this is that it allows the classifier to be retrained on a new dataset that includes the previous day.

oil_dashboard's People

Contributors

ble1fu55 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.