GitHub Layoffs.csv (AlexTheAnalyst)
- Rows
- 2,360
- Columns
- 9
- Data range
- 2020-03-11 to NULL
- Auto-refresh
- Re-checks its source every 30 days
Tech layoffs time series dataset with company, industry, date, headcount for software sector analysis.
AI analysis
Dataset Analysis: GitHub Layoffs (AlexTheAnalyst)
1. Dataset Overview & Value
This dataset, sourced from [AlexTheAnalyst's MySQL YouTube Series](https://raw.githubusercontent.com/AlexTheAnalyst/MySQL-YouTube-Series/main/layoffs.csv), captures tech sector layoff events spanning from March 11, 2020 through an open-ended present, making it a valuable time series resource for studying workforce contraction in the software and broader technology industry. The publisher context — a data analytics educator on YouTube — suggests this dataset was assembled for instructional SQL/analysis purposes, meaning it prioritizes breadth of coverage and pedagogical clarity over exhaustive completeness. Its 2,360 rows covering 1,889 distinct companies across 60 countries give it meaningful statistical mass for correlation studies, particularly around how funding levels, company growth stage, and industry vertical relate to layoff severity. The dataset's temporal anchor at March 2020 is analytically significant, as it captures both the early COVID-19 disruption wave and the subsequent 2022–2023 tech contraction cycle.
---
2. Data Quality Observations
The dataset carries notable quality concerns that must be addressed before any rigorous correlation analysis. Out of 9 columns and 2,360 rows, 1,782 total null cells are present — roughly 8.4% of all possible values — with the burden falling disproportionately on the two most analytically critical numeric columns. percentagelaidoff is missing in 785 rows (33.3%) and totallaidoff is missing in 740 rows (31.4%), meaning a substantial portion of records lack any quantitative measure of layoff magnitude. This is a structural weakness: any row missing both fields contributes almost no analytical signal beyond categorical metadata. fundsraisedmillions adds another 254 nulls (10.8%), which will limit funding-vs-layoffs correlations. The duplicate row count is noted as pending Phase D recomputation, so deduplication status should be confirmed before joining or aggregating — particularly important given that 1,889 distinct companies exist across only 2,360 rows, leaving thin margin for accidental duplicates to distort company-level aggregations. The date column has a NULL upper bound in the time coverage metadata, flagging that some records may lack valid timestamps and should be validated for time series continuity.
---
3. Key Column Distributions
The numeric columns reveal a heavily right-skewed landscape typical of corporate workforce data. totallaidoff has a mean of 238 vs. a median of 80, a standard deviation of 769, and a skewness of 9.77 — one of the most extreme skew values in this dataset — with 175 outliers pulling the tail upward toward the maximum of 12,000. The interquartile range (Q1=36, Q3=180) confirms that the typical layoff event is relatively small-scale, while a handful of large-company events (likely Meta, Amazon, Google) dominate the mean. fundsraisedmillions is even more extreme, with a mean of $838M vs. a median of $160M, a skewness of 19, and 219 outliers, including a maximum of $121,900M — almost certainly a mega-cap outlier (e.g., a public company with cumulative fundraising). Log-transforming both columns before correlation analysis is strongly recommended. percentagelaidoff is comparatively better-behaved (skew=1.91, σ=0.256, range 0–1), making it the more statistically reliable severity metric, though its 33% null rate limits its usability. The 17 distinct company stages and 33 distinct industries offer strong categorical segmentation for grouped analysis.
---
4. Recommended Join Key Columns
| Column | Type | Join Suitability | Notes | |---|---|---|---| | date | Date | ✅ Primary time key | 484 distinct dates; joins well to macro/economic time series | | company | String | ✅ Entity key | 1,889 distinct values; fuzzy matching may be needed for external sources | | country | String | ✅ Geographic key | 60 countries; clean for ISO-standard country lookups | | location | String | ⚠️ Secondary geo key | 191 distinct values; likely city-level, inconsistent formatting likely | | industry | String | ⚠️ Categorical key | 33 categories; useful for sector-level joins but needs taxonomy alignment |
The date + country combination is the most reliable composite join key for macro-level correlation studies, while company enables entity-level enrichment if matched against funding or stock databases with care around name normalization.
---
5. Recommended Paired Datasets for Correlation Discovery
Several dataset categories would pair powerfully with this layoff data:
- 📈 Interest Rate & Fed Funds Rate Time Series — The 2022–2023 layoff wave is hypothesized to correlate with rising interest rates reducing VC liquidity; a FRED (Federal Reserve Economic Data) series joined on date could quantify this relationship directly. - 💰 Crunchbase / PitchBook Funding Rounds Data — Joining on company and date would allow testing whether companies with recent large funding rounds laid off more (overhiring hypothesis) or fewer workers (runway buffer hypothesis). - 📊 NASDAQ / S&P 500 Tech Sector Index — Correlating totallaidoff aggregated by month against tech index drawdowns would test whether layoffs lag or lead market corrections. - 🏢 LinkedIn Workforce Reports or BLS Tech Employment Data — Country- and industry-level joins could normalize layoff counts against total sector headcount, transforming raw counts into meaningful rate metrics. - 🌍 IMF/World Bank GDP & Inflation Data — Country-level joins on country + date could explore whether layoff severity correlates with local economic conditions versus being primarily US-driven.
Analyst Note: Before any cross-dataset join, address the ~31–33% null rates in totallaidoff and percentagelaidoff through imputation or explicit null exclusion, and apply log transformation to fundsraisedmillions and totallaidoff to mitigate the extreme skewness distorting correlation coefficients.
Columns
- date (date)
- company (string)
- location (string)
- industry (string)
- total_laid_off (integer)
- percentage_laid_off (decimal)
- stage (string)
- country (string)
- funds_raised_millions (integer)