Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 831 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 831 Bytes

soccer-statistics

Standings Request.py is a Python code that automates the request process for the standings provided by the soccer API available at https://elenasport.io. The user receives the standings for any league, country, and season he or she selects.

Soccer API.py is a Python code to analyze season statistics provided by the soccer API available at https://elenasport.io. Based on user-inputted league, country, and season parameters, this code filters data and generates a linear regression model of the correlation between the total of home points earned by a team in the chosen season and its mean home attendance throughout the year.

The generated analysis is as shown below:

linear regression example png