gravatar

farooqhassan

Farooq Hassan

Recently Published

Analyzing Olympic Medals Data with SQL in R
The sqldf package allows for easy SQL querying in R, making it an excellent tool for SQL users transitioning to R. We’ve shown examples of how to filter, aggregate, and join data across multiple datasets, providing a flexible and familiar way to analyze Olympic medal data. By combining the power of SQL with R, you can gain insights while gradually exploring R’s native functions.
ABC_of_ggplot2
In this tutorial, we dive into the powerful ggplot2 package in R to create heatmaps that visualize the performance metrics of different cricket teams. Using a dataset that includes total wins and losses for each team, we demonstrate how to transform and prepare data for visualization, and then generate a heatmap to illustrate the results.
Cleaning and Modifying ICC Test Data
This R Markdown document provides a step-by-step guide to cleaning and modifying ICC Test rankings data, which was initially scraped from a webpage using the html_table() function. The document continues the data processing journey by addressing specific issues related to data formatting and string manipulation. The key tasks performed include cleaning the "TEAMS" column by removing numeric prefixes and creating new columns to calculate total wins and losses for each team based on their performance data.
Web Scraping using html_table ( ) function
I recently explored the power of R for web scraping using the rvest package. In my latest project, I focused on extracting and cleaning data from a webpage, particularly utilizing the html_table() function. This approach allows for efficient extraction of tabular data directly into R, streamlining the data analysis process.
ICC ODI Rankings Visualization using ggplot2
In this R Markdown document, we’ll demonstrate how to visualize ICC ODI rankings by country using various R packages. We’ll use geographic data and rankings from a CSV file to create a map showing the rankings.