Skip to main content

Why We Need A New Research Workflow

Author

Gang Chen

Published

May 2, 2026

The way people interact with computers is changing. With AI-assisted coding, many tasks that used to require constant copying, pasting, formatting, and rewriting code can now be made more efficient, more replicable, and easier to document.

We are used to the traditional academic research workflow, which is fragmented across many closed systems. We search for literature and download data in a browser. We clean and analyze data in SAS, R or Stata. We export regression tables to Word and edit them there. We make slides in PowerPoint with tables copied from Word. Along the way, we repeatedly copy results, adjust formatting, rewrite code, move files, and manually track different versions of the same project in several folders. Some of us have a master file in R or Stata to document the full workflow, but even with that, many parts of the workflow still live outside the master file.

That workflow creates unnecessary repetitive actions, and it also creates opportunities for human error: outdated tables, mismatched figures, broken file paths, undocumented data steps, and results that are hard to reproduce later. We all understand the frustration of sending your work to your collaborators and having to explain to them how to replicate the results before they can further the analysis. We also understand the frustration of leaving a project and coming back a few months later with new data or a new model, only to spend time figuring out where you left off and how to replicate the latest results before continuing your work.

A modern research workflow should be more integrated. In one project workspace, we should be able to use the best tool for each task: ggplot2 in R for visualization, Python for text analysis or machine learning, Stata for regression models, and Quarto or Markdown for writing reproducible papers and slides. Instead of moving manually across disconnected software, we can connect data, code, results, writing, and presentation materials in one transparent workflow.

The workflow should also be assisted by AI tools as much as possible for repetitive work. The goal is not to replace researchers with AI. The goal is to move repetitive technical work out of the way so researchers can spend more time on research design, theory, interpretation, and communication.

Our research workflow should reflect this approach as well. The old model of moving manually between isolated programs was built for a different era. We now have the tools to make research more efficient, transparent, and reproducible.

Before we go on with this approach, several tools are necessary. I will explain why we need these tools for this workflow.

First, because we want to use AI-assisted coding, we need to use coding instead of interactive actions (i.e. mouse and keyboard) to finish most of the work. That means for some simple work, like naming an axis in Excel, while you can just click and enter the name of that axis in five seconds, you now will need to use code in R to label that axis.

Second, we need to use open-source software, because that can give us endless possibilities to integrate it into an IDE such as Positron or VS Code, and allow us to integrate Codex or Claude Code as well. There is no way to integrate Codex into Stata software, and you do not want to copy and paste code from the ChatGPT chat window to a Stata do-file, which is the repetitive and error-prone approach we want to avoid.

Third, we need to use version control with Git and GitHub. Because AI agents can make changes to your files directly, you do not want to risk losing your work while an assistant is trying different ways to solve a problem. With Git and GitHub, you can experiment until you are ready to commit, push, and merge. Anytime you regret a change, you can go back to a previous version.

Learning these tools and getting used to them will take time and may cause frustration at the beginning. This may be an uphill learning curve because these tools require an understanding of new languages or processes. You may make mistakes, and it may feel like a waste of time. But once you get used to them, this workflow can dramatically increase your efficiency and, more importantly, make your data management and analysis work more fun. I am also convinced that this is a forward-looking way of doing research in the near future.