Skip to content

samrit2442/cricket-analytics-book-with-r

Repository files navigation

📘 An Introduction to Cricket Analytics with R 🏏

Welcome to the Cricket Analytics with R repository! 🏏📊 This repository contains an ebook and accompanying R scripts that help you analyze cricket data, generate insights, and visualize key metrics along with the source code of An Introduction to Cricket Analytics with R book.

📖 About the Ebook

This ebook is designed for cricket enthusiasts, analysts, and data scientists who want to explore cricket data using R. It covers various topics, from basic data wrangling to advanced machine learning techniques applied to cricket analytics.

Topics Covered

  • Introduction to Cricket Analytics
  • Data Collection and Cleaning
  • Player and Team Performance Analysis
  • Visualizing Cricket Data
  • Predictive Modeling in Cricket
  • To be added soon

📂 Repository Structure

📁 cricket-analytics-with-r
│── 📄 README.md          # Project Overview  
│── 📂 data/              # Sample datasets  
│── 📂 R/                 # R scripts for analysis  
│── 📂 plot/             # Plots and dashboards  

🚀 Getting Started

Prerequisites

  • Install R and RStudio
  • Required R packages: tidyverse, ggplot2, dplyr, caret, rvest (for web scraping), etc.

🏆 Contributions

Contributions are welcome! If you’d like to contribute, please open an issue or submit a pull request.

📊 Sample Visualizations

Here are some example plots generated using the scripts in this repo:

1️⃣ Career Overview of a Player

batting_stat

2️⃣ Match Summary Report

match_report