Skip to content

Data Analysis

Using Claude Code for data analysis tasks.

Analyzing Data Files

> Analyze this CSV file and summarize the key metrics
> What patterns do you see in the sales data?
> Find outliers in the dataset

Generating Reports

> Generate a summary report of user activity
> Create a comparison table of the two datasets
> Build a dashboard showing key metrics

Working with JSON

> Parse this JSON and extract user emails
> Validate the API response format
> Transform the data structure for the frontend

Log Analysis

> Analyze these server logs for errors
> Find requests that took longer than 5 seconds
> Summarize error patterns from the past hour

Database Queries

> Help me write a query to find inactive users
> Optimize this slow SQL query
> Generate test data for the users table

Visualization Suggestions

> What's the best way to visualize this data?
> Create a mermaid diagram showing the data flow
> Generate ASCII charts for the metrics

Tips

  • Provide sample data for context
  • Specify the output format you need
  • Ask Claude to explain its analysis
  • Use /clear between different analysis tasks