Coding agents for data analysis

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Simon Willison's freely available NICAR 2026 handout lets anyone use coding agents like Claude Code and OpenAI Codex to analyze, clean, visualize and scrape data today, without new skills.

Read this as

Simon Willison published the handout for his three-hour 'Coding agents for data analysis' workshop at the NICAR 2026 data journalism conference. It teaches journalists to use tools like Claude Code and OpenAI Codex - AI assistants that write and run code - to explore databases, clean data, build visualizations and scrape websites. The exercises use Python and SQLite, and the handout is free online for anyone with data to explore.

Willison ran the NICAR 2026 workshop on GitHub Codespaces with a budget-capped OpenAI Codex API key, and attendees burned $23 of Codex tokens total. The free handout covers querying, cleaning, visualizing and scraping with Claude Code and Codex. It is a practical, low-cost template for teams adopting AI coding agents for data work.

The handout walks through Claude Code and Codex setup on GitHub Codespaces, querying SQLite databases, cleaning data (decoding neighborhood codes), generating visualizations and web scraping, using Python, SQLite and Datasette. A highlight: serving Datasette static content from a viz/ folder while Claude Code vibe-codes interactive visualizations into it, including a Leaflet and Leaflet.heat heat map of roughly 200,000 trees.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Simon Willison NICAR 2026 Claude Code OpenAI Codex Datasette GitHub Codespaces

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading