An open API service indexing awesome lists of open source software.

https://github.com/narpat78/layoffs-data-cleaning-and-eda-using-sql

A SQL-based project to clean and analyze layoffs dataset. Focuses on standardizing data, handling nulls, converting data types, and performing exploratory queries for business insights.
https://github.com/narpat78/layoffs-data-cleaning-and-eda-using-sql

data-cleaning-and-preprocessing eda mysql mysql-workbench sql

Last synced: 10 months ago
JSON representation

A SQL-based project to clean and analyze layoffs dataset. Focuses on standardizing data, handling nulls, converting data types, and performing exploratory queries for business insights.

Awesome Lists containing this project

README

          

# SQL Layoffs Data Cleaning & EDA

This project focuses on cleaning and analyzing a layoffs dataset using **MySQL**. The goal is to standardize the data, handle missing values, remove duplicates, and perform exploratory queries to uncover insights into global layoff trends.

## Dataset Source
The dataset was imported into **MySQL Workbench** for cleaning and analysis.
- [Download Dataset](https://www.kaggle.com/datasets/swaptr/layoffs-2022)

## Steps Performed
1. **Data Cleaning** – removed duplicates, standardized values, formatted dates, and handled missing entries.
2. **Data Transformation** – converted datatypes, trimmed extra spaces, and normalized text fields.
3. **Exploratory Data Analysis (EDA)** – identified top companies by layoffs, yearly trends, and rolling totals.

## Tools Used
- MySQL Workbench
- SQL (DDL & DML queries, Window functions, CTEs, Ranking, Aggregations)