Giter Site home page Giter Site logo

terrydolan / lfcgm Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 1.86 MB

lfcgm is a python Spyre app that uses ggplot to plot the LFC player's Age against League Goals per season. Now with R version.

License: MIT License

Python 0.44% Jupyter Notebook 99.09% HTML 0.16% R 0.30%

lfcgm's Introduction

This lfcgm repo has been archived, replaced by the lfcgmR repo.

The lfcgm app has moved here: lfcgmR.lfcsorted.com.



lfcgm [status: archived]

The Liverpool Football Club Goal Machine (lfcgm) is an interactive python web app that takes a selected LFC player and plots the player's age against the league goals that the player scored in a top level season. The app knows about every LFC player who scored a top level league goal in more than one season, from 1894-95 to 2016-17.

Try the app

The lfcgm web app is deployed at lfcgm.lfcsorted.com. Have a play! You can use the app to compare players across different seasons and eras. Simply select one or more players and take a look at their graph.

Graphic detail

For a discussion of some interesting graphs from the lfcgm see this lfcsorted blog post The LFC Goal Machine - Graphic Detail.

Data analysis and app construction

The lfcgm notebook describes the data analysis and how the app was built and deployed.

Building blocks

The analysis and the app use python, ipython notebook, pandas, ggplot and spyre. The app is deployed using heroku.

Spyre is a web app framework for providing a simple user interface for Python data projects.

Ggplot is a python plotting library based on R's ggplot2.

Pandas is a python data analysis library.

Heroku is a cloud platform for deploying and running web apps.

The app uses the heroku scipy buildpack.

R version

The Rversion folder contains the source code for the R version of the lfcgm, with an enhanced UI. You can try the app at lfcgmR. This version is built using R, RStudio, shiny, ggplot and dplyr. It is deployed on R Studio's platform.

Data source

Special thanks to lfchistory.net who provided the base LFC data.

Licence

MIT.

Acknowledgements

Thanks to the providers of the tools and data.

Terry Dolan, @lfcsorted blog: www.lfcsorted.com

lfcgm's People

Contributors

terrydolan avatar

Stargazers

Christian Oliff avatar

Watchers

James Cloos avatar  avatar

Forkers

yaron1000 karagul

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.