Giter Site home page Giter Site logo

toto_singapore's Introduction

Toto_Singapore

Extraction & Analysis of TOTO Results A mini-project to analyse 3 years of TOTO Group 1 data.

totocreate.py: create an sqlite database for storing toto data

totoscrape.py: scrape toto results from Singapore Pool's website

toto_all_locations.py: scrape all branches & authorised sellers from Singapore Pool's website

totogeocode.py: geocode addresses into latitude and longitude using Google Maps API

The TOTO $8Million draw snowballed 3x to coming this Monday 18 Oct 9pm, with a $8 million prize for the jackpot. Being a true-blue Singaporean, I have bought some numbers too. We all know that this is a game of chance, luck and rather low probability of winning, but wouldn’t it be interesting to see some real data?

There are two parts of this project. The first is to get the data. 3 years of Group 1 jackpot data are available in Singapore Pool’s website. The extraction was automated using Python, and dumped into a sqlite database. Google Maps API was also used to geocode Singapore Pool branch’s addresses so as to place markers in a map.

With the more time-consuming coding over, all the data were finally visualised using Tableau. And the resulting dashboard above is created.

The eventual dashboard resulting from this project: https://public.tableau.com/views/Toto102018-21-FINAL/TOTO?:language=en-US&:display_count=n&:origin=viz_share_link

toto_singapore's People

Contributors

ccie48715 avatar

Watchers

 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.