{"id":15816818,"url":"https://github.com/kylemh/fpl_data_visualization","last_synced_at":"2026-04-10T16:32:38.099Z","repository":{"id":128063292,"uuid":"72377136","full_name":"kylemh/FPL_Data_Visualization","owner":"kylemh","description":"Exploratory report into the Fantasy Premier League's data including REST API usage, web scraping, data visualization, and statistical analysis.","archived":false,"fork":false,"pushed_at":"2017-04-03T19:06:14.000Z","size":1666,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-05T05:20:58.413Z","etag":null,"topics":["d3js","flask","jupyter","mysql","web-app"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylemh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-30T21:39:16.000Z","updated_at":"2019-08-08T10:16:24.000Z","dependencies_parsed_at":"2023-06-17T12:15:56.527Z","dependency_job_id":null,"html_url":"https://github.com/kylemh/FPL_Data_Visualization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemh%2FFPL_Data_Visualization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemh%2FFPL_Data_Visualization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemh%2FFPL_Data_Visualization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemh%2FFPL_Data_Visualization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylemh","download_url":"https://codeload.github.com/kylemh/FPL_Data_Visualization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246580461,"owners_count":20800108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["d3js","flask","jupyter","mysql","web-app"],"created_at":"2024-10-05T05:20:40.812Z","updated_at":"2026-04-10T16:32:38.049Z","avatar_url":"https://github.com/kylemh.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fantasy Premiere League Data Exploration\n\n[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\nZoe Olson, Kyle Holmberg, and Ryan Collier set out a goal to learn about data collection, analyzation, and visualization.\n\nWe chose the English Premier League as our source of data, with an emphasis on improving [Fantasy Premier League](https://fantasy.premierleague.com) scores.\n\n\n## Table of Contents\n\n- [Resources Used](#resources-used)\n- [Install](#install)\n- [Contents](#contents)\n- [Contribute](#contribute)\n- [License](#license)\n\n\n## Resources Used\n\nhttps://www.cs.uoregon.edu/Classes/16F/cis451/final.html\n\n[FPL Bootstrap API Endpoint](https://fantasy.premierleague.com/drf/bootstrap-static)\n\n[FPL Player API Endpoints (1 to a variable number around 656)](https://fantasy.premierleague.com/drf/element-summary/1)\n\n[Similar Project](https://llimllib.github.io/fantasypl/)\n\n[Asynchronous HTTP Requests in Python 3.5+](http://scribu.net/blog/asynchronous-http-requests-in-python-3.5.html)\n\n[Making 1 million requests with python-aiohttp](https://pawelmhm.github.io/asyncio/python/aiohttp/2016/04/22/asyncio-aiohttp.html)\n\n\n## Install\n\nPlease install [Virtual Environments](https://pypi.python.org/pypi/virtualenv).\n\n\n**Webscraper**\n\n1. Clone repository.\n2. Open terminal within repo/webscraper/\n3. Create and activate your virtual environment.\n4. `$ pip3 install -r requirements.txt`\n5. `$ python3 fpl_csv_converter.py`\n\n\n**Flask App**\n\n1. Install [Homebrew](https://brew.sh/)\n2. Open terminal and use `$ brew install mysql`\n3. Clone repository.\n4. Change directories in terminal to repo/\n5. `$ mysql -u \u003cusername\u003e -p \u003cpassword\u003e \u003cdatabase name\u003e \u003c create_fpl_models.sql`\n6. `$ cd app`\n6. (Temporary) Edit line 23 of entry.wsgi.py to local MySQL DB location.\n7. Create and activate your virtual environment.\n8. `$ pip3 install -r requirements.txt`\n9. `$ python3 entry.wsgi.py`\n\n\n## Contents\n\n**To view our Jupyter Notebook, click [HERE](http://nbviewer.jupyter.org/github/kylemh/FPL_Data_Visualization/blob/master/jupyter_notebook/Jupyter_viz.ipynb)**\n\n```\n├── LICENSE\n├── README.md\n├── app\n│   ├── entry.wsgi.py\n│   ├── requirements.txt\n│   ├── static\n│   └── templates\n├── create_fpl_model.sql\n├── docs\n│   ├── CIS407_Retrospective.pdf\n│   ├── CIS451_Final_Report.pdf\n│   ├── Retrospective.pdf\n│   └── create_fpl_model.sql\n├── jupyter_notebook\n│   ├── Jupyter_viz.ipynb\n│   ├── README.md\n│   └── jupyter_viz_files\n├── mysql_dump.sql\n└── webscraper\n    ├── CurrentSeasonStats.csv\n    ├── History.csv\n    ├── Managers.csv\n    ├── Player.csv\n    ├── PlayerResultStats.csv\n    ├── Result.csv\n    ├── Teams.csv\n    ├── TotalPastStats.csv\n    ├── fpl_csv_converter.py\n    └── requirements.txt\n```\n\n\n## Contribute\n\n#### What's Finished\n* Statistical Analysis with Visuals: Jupyter Notebook utilizing pandas and matplotlib\n* Data Collection: Python Web Scraper that converts API endpoint JSON into a MySQL Database\n* Interactive Data Visualization(s): d3.js, matplotlib, pandas, and Flask\n\n#### What's Left\n* Webscraper Refactor\n* Flask App Redesign (planned 2017-2018 season release)\n* Create an automated Fantasy Manager\n\n\n## License\n\n[MIT](LICENSE) © Kyle Holmberg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylemh%2Ffpl_data_visualization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylemh%2Ffpl_data_visualization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylemh%2Ffpl_data_visualization/lists"}