Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1.46 KB

README.md

File metadata and controls

17 lines (10 loc) · 1.46 KB

Python Cricketer Analysis

Web scraping, data collection and visualisation of different cricketers

This is an extensive webscraper using requests, BeautifulSoup and pandas that creates a data frame of test match innings for a given cricketer using ESPN cricinfo's web pages.

Functionality has been wrapped inside a Cricketer (found here) class that allows for the application of methods to produce summary statistics and rolling averages that can be used to analyse the overall performance of the player simply by passing in the link for that player.

Further information can be gained about the performance through subsequently scraping the particular match using Match and Innings classes allowing for a wider range of metrics to be analysed.

Visualisations created using the scraper

Below are some visualisations that were created for an article that I wrote: Has captaincy ruined Joe Root?

The code used to produce them can be found in this notebook.

Top 4

Joe Root Test Average Career