Task Overview: Premium Domain Analytics

In this task, we’ll do a warmup exercise to get you familiar with DuckDB. You’ll analyze premium domains sold on Namecheap’s marketplace using DuckDB. You’ll work with CSV data containing domain availability information.

Learning Objectives

  • Load and explore CSV data with DuckDB
  • Analyze domain sales patterns and pricing
  • Create aggregations and insights
  • Find interesting cheap domain names

Data Overview

Understanding the Namecheap Dataset

The Namecheap Market Sales dataset contains domain sales information: Dataset: Namecheap_Market_Sales_Buy_Now.csv Data Fields:
  • permalink: Full URL to the domain listing on Namecheap marketplace
  • domain: The actual domain name (e.g., buythisdomain.com)
  • price: Sale price of the domain in USD (e.g., 10000.00)
  • extensions_taken: Number of domain extensions taken (e.g., .com, .net, .org)

Data Structure

The CSV file has the following structure:
permalink,domain,price,extensions_taken
https://www.namecheap.com/market/buynow/0000000000000000.info/,0000000000000000.info,10.00,3
https://www.namecheap.com/market/buynow/00000000000.online/,00000000000.online,10.00,11

Getting Started with CSV Data

Query and Explore the Dataset

Start by querying and exploring the CSV data.

Basic Data Quality Check

Check for any obvious data quality issues.

Basic Price Analysis

Check the price ranges of the domains.

Domain Analysis Tasks

Find Short Domain Names

Find domains that are 8 characters or less.

Find Cheap Domains

Find domains that cost less than $100.

Find .co Domains

Find domains that contain the ‘.co’ extension.

Find Domains Without Hyphens

Find domains that don’t contain hyphens.

Find Domains Without Numbers

Find domains that don’t contain any digits.

Final Challenge

Find Short and Cheap Domains

Combine the conditions from previous tasks to find short, cheap domains: Your task: Find domains that are:
  1. Less than 9 characters long
  2. Under $100
  3. Contain the ‘.co’ domain extension
  4. Don’t have hyphens
  5. Don’t have numbers
  6. Order by price (cheapest first)

Now Write Your Own Query

Write your own query to find the best cheap and short domain names. Pick any price, domain length, and domain extension. Write down the top 3 domains you found.

Task 1.1 Summary

Congratulations! You’ve completed the domain analysis warmup. You’ve learned to: ✅ Load and explore CSV data with DuckDB
✅ Use string functions like char_length() and contains()
✅ Apply regex patterns with regexp_matches()
✅ Combine multiple conditions with AND and NOT
✅ Order results by price for best deals
✅ Analyze domain characteristics and pricing

Key Skills Developed:

  • String Manipulation: Working with domain names and extensions
  • Conditional Logic: Combining multiple filters
  • Pattern Matching: Using regex for complex searches
  • Data Analysis: Finding patterns in domain pricing

What You Found:

  • Short, cheap domain names without hyphens or numbers
  • The best deals on premium domain extensions
  • Patterns in domain pricing and availability
Next Step: Continue with Task 1.2 to explore more advanced analytics techniques.