Skip to content

gpoudel/FPL-Analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fplAnalytics

https://www.fplanalytics.com/

Intorduction

https://www.fplanalytics.com/ is a hobbyist website for the lovers of the Fantasy Premier League (https://fantasy.premierleague.com/) - a fantasy football game based on English Premier League. It uses the official APIs from the site for data inputs and processes them for fantasy managers to analyze for greater insights. Other than daily updates of price rise/fall and injuries/suspensions/fitness of the players. There are many data tables, charts and visualizations to help the fantasy managers to make a better picks based on info and stats.

Description

The main operations/tasks needed to build and keep this site alive are:

  • Gathering open data directly from official FPL website (https://fantasy.premierleague.com/)
  • Data Engineering (cleaning, formatting, storing, etc.)
  • Data Visualization and Publishing

The FPL data set by nature is very dynamic – not only it changes during the weekends when most of the football is being played but also every moment as the participants of the game would trade players and manage their teams just like trading real stocks and managing stock portfolios all the time. Thus, the programming scripts (written in R) needed to handle constantly changing data and keep the website as updated as possible with minimum manual intervention.

All the data gathering, engineering and visualization work in this project are done in exclusively in R language. I have used Python and tools like Microsoft Power BI and Tableau for my own analysis of data and logic building but those contents are not published to the web.

Other than mentioned above, the frontend is created using HTML, CSS, Bootstrap and JavaScript

Examples

Here are some of the examples from the main site (https://www.fplanalytics.com/)

Note

  • The scripts files are not here yet, so far the repo is only used to host HTML/Javascripts contents.
  • Plans to add the scripts (R, Python) used for automatic generation of web files to this repo at later stage

Note

  • The scripts files are not here yet, so far the repo is only used to host HTML/Javascripts contents.
  • Plans to add the scripts (R, Python) used for automatic generation of web files to this repo at later stage

Bonus

Alt text A wordcloud image created in 'R' by mining twitter for term 'FPL'

Releases

No releases published

Packages

No packages published