Economists and researchers interested in using AI tools like Claude Code for efficient web scraping and data analysis.
Welcome to the third video in a series on using Claude Code for applied economists. This episode focuses on web scraping.
Unlike structured data from APIs, web scraping involves collecting messy, unstructured data that needs significant processing.
We will scrape 10-K annual filings from the SEC's Edgar database to analyze risk factors.
The goal is to track how 'tariff' mentions in risk factors (Item 1A) change over time.
The process involves scraping 10-K filings, extracting Item 1A, building a database, and querying trends.
Giving Claude precise information about the Edgar API, rate limits, and user agents improves its performance.
Starting a new Claude session, creating a folder, and providing the detailed prompt to begin the data collection.