Data & Machine LearningDecember 2025Status: Complete

NCAA Men's 50 Yard Freestyle Analysis

Analyzing 25 Years of Championship Performance Through Data Engineering and Statistical Analysis

At a glance

Problem
25 years of championship results exist only as PDFs and web pages whose formats change from year to year.
My role
Built the parsing and cleaning pipeline and ran the statistical analysis.
Key decision
Parse line by line with tested rules, normalize into one SQLite dataset, then use robust statistics so one extreme swim can't distort the picture.
Result
400 finishes across 25 championships: winning times improve about 0.045s a year, and Dressel's 2018 swim (17.63s) won by 1.01 seconds.
Proof
400 parsed championship finishes36 parser testsSQLite-backed, reproducible pipeline
Built with
Data
  • Python
  • pandas
  • SQLite
Analysis
  • NumPy
  • SciPy
Visualization
  • Matplotlib
  • Seaborn
Quality
  • pytest
Notebook
  • Jupyter

In Practice

1 of 5

Context

I wanted to combine my interest in swimming with data analytics, building an end-to-end workflow that extracts, cleans, analyzes and visualizes data locked in historical documents.

What can 25 years of championship results reveal about the evolution of elite NCAA sprint swimming?

Historical sports results are often stored in inconsistent formats across documents and seasons, making large-scale analysis difficult. The challenge was to transform these unstructured results into a consistent and reliable dataset while preserving the performance information needed to analyze long-term trends, competitive depth and exceptional performances.

Approach

A line-by-line parser keeps only result lines (a place or a DQ/DFS marker) and uses token rules to pull out place, athlete, class year, school, prelims and finals times and status, despite formatting that drifts across 25 years of PDFs and HTML pages. Yearly results are validated, normalized and merged into one SQLite dataset. The analysis then tracks yearly medians and winning times with a linear trend, flags outliers with the 1.5×IQR rule confirmed by z-scores, uses MAD-based measures that resist skew, and compares programs and repeat champions.

Data sources

  • NCAA Division I Men's Swimming Championship Results

    Publicly available NCAA championship results from 2000–2025 collected from PDF and HTML documents. The dataset includes athlete performances, schools, finishing places, preliminary and final times and championship metadata.

Solution

Parsing

  1. Automated parsing. Built automated parsing logic to extract swimmer results from historical NCAA documents.

  2. Data cleaning. Developed cleaning routines to standardize athlete names, schools, times and performance fields.

Dataset

  1. 25-year dataset. Created a structured dataset containing 25 years of championship performances.

Analysis

  1. Statistical analysis. Applied statistical techniques including trend analysis, IQR outlier detection, z-scores and distribution analysis.

  2. Visualizations. Developed visualizations highlighting performance evolution, program success, competitive depth and exceptional swims.

Architecture

The solution uses a multi-stage text processing pipeline to convert raw NCAA championship documents into a structured dataset suitable for analysis. Automated parsing logic extracts swimmer performance data despite changes in document structure and formatting across seasons.

Pipeline from NCAA results PDFs and HTML pages, through a line-by-line parser and cleaning, into a SQLite dataset that feeds statistical analysis and visualizations.
Hover to magnify · click to open full sizeTap to open full size

Components

  • Document ingestion and extraction
  • Regex-based parsing
  • Data cleaning and normalization
  • Statistical analysis pipeline
  • Visualization generation

Outcome

The pipeline turns 25 championships (2000–2025, with no 2020 meet) into 400 top-16 finishes in a single SQLite dataset. Winning times improve by about 0.045 seconds a year, and median finals times fall from about 19.8 to about 18.75 seconds while the spread of each final stays about the same. Caeleb Dressel's 2018 swim stands alone: 17.63 seconds, a 1.01-second winning margin and 3.24 standard deviations below the average of the 2018 final. Auburn, California and Florida each won five titles; California's appear under two school names in the source data, which the analysis initially counted separately.

Scope and limits

One event, men's 50-yard freestyle, top 16 per year; no 2020 championship. Some school and athlete names still vary between sources (California and California, Berkeley; Vlad and Vladimir Morozov).

Lessons Learned

  • Extracting reliable data from inconsistent historical documents requires robust parsing strategies.

  • Data quality and normalization are critical before meaningful analysis can occur.

  • Statistical context helps distinguish exceptional performances from normal variation.

  • Name normalization is never finished: one school recorded under two names changed a headline finding.

  • Robust measures like IQR and MAD matter when a single performance can distort the mean and spread of a 16-swimmer final.

What's next

  • Expand the analysis to additional NCAA swimming events.
  • Automate data collection from additional competition sources.
  • Build an interactive dashboard for exploring athlete, event and program trends.
  • Incorporate additional performance factors such as meet, venue, championship format and swimmer progression.