A recurring challenge in doctoral research is turning a research question into a reliable and reproducible process for collecting online data. This course addresses that challenge. Participants learn to find and collect relevant data (with a focus on web data), assess the results, and build an interactive research app around a data-collection problem from their own thesis.
We begin with R foundations and how the web works. Participants learn to identify online data sources, access APIs, write basic scrapers, and work with HTML, CSS, JSON, and XML. They also learn how to use LLMs from R and how to structure, store, and prepare collected data for analysis, including a short introduction to relational databases.
Building on these foundations, participants create AI agents in R to discover sources and collect data using defined tools, such as APIs, MCP-connected services, and scraping functions. They learn to inspect the sources and records an agent returns, assess data quality and coverage, and consider the limitations and ethical implications of automated collection. The course also introduces AI methods for extracting and structuring information from text and images.
Finally, participants use R, Shiny, LLMs, and AI-assisted app development to build a simple research app linked to their thesis. The app will support part of their data-collection workflow—for example, by helping users specify a collection task, run or review an agent, validate records, explore the collected data, or export it for analysis. Each participant presents a research app prototype and its data-collection workflow at the end of the course.