Cheat Sheet BUY NOW Intermediate Preview available

Cleaning Text and Categories

by LucidPlexus
0.00 · 0 reviews
Find every spelling, give it one agreed name, and prove nothing else moved. Two A4 pages on cleaning text and category columns in SQL, written on the tables of Can I Trust This Data?, where USA arrives in three spellings and soybean…
2 Pages
0 Views
0 Downloads

Overview

Everything useful before you download or buy.

Find every spelling, give it one agreed name, and prove nothing else moved.

Two A4 pages on cleaning text and category columns in SQL, written on the tables of Can I Trust This Data?, where USA arrives in three spellings and soybean in three. Every query was run, and its real result is printed under it.

It covers listing every spelling with its count, what trim, lower, replace and regexp_replace do and do not do, one match key written once as a macro, near-duplicate spellings and fuzzy scores, a mapping table instead of a CASE, the three tests a mapping table must pass, joining to master data, and standardizing inside a view that keeps the raw value beside the clean one.

It ends with the proof: rows and totals unchanged, spellings down to the master list's count, and the duplicate count that should go up.

PDF to print, and an HTML version to read on screen. The SQL is DuckDB, as in the LucidPlexus workbench, and it marks the DuckDB-only parts (the macro, arg_max, the similarity function).

Type Cheat Sheet
Pages 2
Access Buy Now

Preview

Check the resource before buying — a limited-page preview.

Open PDF
Loading preview…

This is a limited-page preview. If it does not load, open the PDF directly.

Ratings & Reviews

One review per person. Submitting again updates your existing review.

0 total

Write a review

Share what helped, what stood out, or who this resource is best for.

No reviews yet

Be the first to review this resource.

Login to Buy Preview