Why this is easier than it used to be
For a long time, getting the code behind a paper meant writing to the authors and hoping. That has changed. The American Economic Association requires authors in its journals to provide the data and code needed to reproduce their results, and since July 2019 its Data Editor checks replication packages before a paper is accepted (AEA Data and Code Availability Policy). Packages are published in the AEA Data and Code Repository at openICPSR. Several other journals, including the Review of Economic Studies and the Economic Journal, now have data editors of their own.
The result is that for most recent articles in leading journals, a package exists and is a click away from the article page. Working papers are different: they rarely have a package yet, which is one more reason to treat their numbers as provisional (see working paper or published version?).
What a package contains
Most packages follow a common structure, encouraged by the template README that a group of journal data editors maintains:
- A README that explains everything below. This is the part to read first.
- A data availability statement: where each data set comes from, whether it is included, and how to get it if not.
- The data that can be shared, raw and sometimes cleaned.
- The code, usually with a master script that runs everything in order.
- A list of tables and figures with the program that produces each one.
- Computing requirements: software and versions, packages, and how long the code takes to run.
A fifteen-minute check
You do not need to run anything to learn a lot. Open the README and work through five questions:
- Where do the data come from? The data availability statement tells you whether the paper uses public data you could get yourself, licensed data, or confidential administrative data. If you want to extend the paper, this decides whether you can.
- Which program makes the main table? Find the table you care about in the list and open the program. Look at the specification as it is coded: the sample restrictions, the fixed effects, how standard errors are clustered. The code is often more precise than the text.
- How is the sample built? The cleaning scripts show which observations are dropped and why. Sample construction choices are rarely all in the paper, and they are a common reason results do not carry over to other settings.
- Which variables are constructed? If the paper builds an index, a treatment measure or a deflated series, the code shows the exact definition. That matters if you want to compare your estimates with theirs.
- Could you run it? Check the software, versions and run time. A package that needs a licensed program and two days on a server is different from one that runs on a laptop in an hour.
Write the answers into your notes next to the paper, with the package’s DOI. That is the version of the paper you actually relied on.
When the data are restricted
Many important papers use data that cannot be shared: tax records, social security data, firm registers, health records. In that case the package usually contains the full code and instructions for applying for access, but not the data. That is still useful. You can see exactly what was done, and the instructions often tell you how long access takes and who grants it. If you plan a project on similar data, those instructions can save months.
A package with restricted data is not a weaker paper. It does mean you cannot check the numbers yourself, so the clarity of the code and the README carries more weight.
If you run it
If you are going to build on the paper directly, by reusing its data, extending its sample or using its estimates as a benchmark, run the master script once. Compare a few numbers in the main table with the published table. Small differences can come from software versions or random seeds; large ones are worth a polite message to the authors. In most cases there is a simple explanation, and the authors would rather hear about it from you than from a referee of your paper.
Where this fits in your reading
This is not a step for every paper. For most papers, the abstract, introduction and main table are enough (see what the abstract leaves out). The package is for the few papers your own work depends on: the paper whose data you use, the paper whose method you extend, and the estimate you compare yours with. For those, fifteen minutes is cheap insurance.
In Pharos, every card shows the passage from the paper that a claim rests on. A replication package is the next layer down: the code behind that passage. For the papers that matter most to you, keep both together in your notes.



