Policy, health care and the public rely on studies. Yet researchers can rarely show what happened to their data between collection and analysis.
Tidystudy will make that path easy to follow, from the survey to the review. The aim is that this takes little extra work.
It will fetch responses from LimeSurvey, or read files exported from other tools such as SoSci Survey, and never change them. Each fetch will show what is new or changed.
Tidystudy will compare the analysis file with the raw data. For each difference, researchers add a short reason, and Tidystudy turns these reasons into a sheet for the methods section. The analysis can stay in R, SPSS or Excel.
Researchers will be able to share a view of their data with just the values behind one publication. Reviewers will be able to check and verify that part without seeing any other answers.
Participants can still withdraw. Tidystudy will then delete their answers, and the check will still work for everyone else.
The data and the reasons stay on the researcher's computer until they choose to share a part. Tidystudy is free and open source, needs no server of its own and no account, and starts as an R package.
Tidystudy will record what happens to the data from the first fetch on. It cannot show that the answers came from real participants, that nothing changed before the first fetch, or that the analysis is correct. It will not log the analysis steps either.
Tidystudy is an early prototype, and researchers cannot use it yet. The roadmap says what exists and what comes next.
The Open Science Framework stopped accepting new projects on 16 November 2026 and will make all projects read-only after 19 February 2027. Registrations and preprints stay, but research groups need a new way to document what happened between the plan and the result.
Preregistration and open data are established. Documenting every step still takes time and technical skill that many teams lack.
flowchart LR
S["Survey tool or<br/>exported file"] -- "fetch or import" --> R[("Raw data<br/>every value as delivered")]
R -. "hash per value" .-> K["Record<br/>Merkle tree, log, timestamps"]
R --> C["Comparison"]
A["Analysis file"] --> C
C --> M["Sheet for the<br/>methods section"]
R -- "share" --> P["Part for reviewers"]
K -. "hashes" .-> P
The glossary defines the terms, in English and German. The function names are proposed and can still change (ADR-0040).
fetch()will get responses and the questionnaire from LimeSurvey.import()will read a file that another tool exported. Tidystudy will work with tables that have one row per case and one column per variable.- Every value will become its own row in the raw data, exactly as the source delivered it. Each fetch will report new cases, changed answers and changes to the questionnaire.
- Every value will get a hash that includes a secret random number, and all hashes will form a Merkle tree. An append-only log will record fetches, withdrawals and comparisons, and independent timestamp services will date it. The tree and the log will hold no answers.
compare()will check the analysis file (R data, .sav, .xlsx or .csv) against the raw data, value by value. The first version of Tidystudy needs R to run, even if the analysis is done in SPSS or Excel.- A part will contain some cases and variables with their hashes. A reviewer who checks a part will see no other answers, but will see how many values were recorded. Two parts of the same record can be joined case by case.
- When a participant withdraws, Tidystudy will delete their answers and random values. The hashes stay, and so does the case label for now (ADR-0057, proposed). The survey tool, backups and parts that were already shared are not touched.
Apart from the parts and root hashes that researchers choose to share, only two things will leave the researcher's computer: requests to the survey tool, and hashes sent to the timestamp services.
Tidystudy will not manage projects or collaboration. Tracking changes to scripts stays the job of Git. Trust model and privacy lists what the record shows and what it does not.
Today Tidystudy is a rough prototype. Version 0 of the record format is drafted, and the R package implements its core with tests: a hash for each value, the tree over all hashes, withdrawal, and the check of a part. Functions for users and the verifier in Python come next.
The steps below outline how we aim to turn this prototype into a tool that researchers can use and hopefully love. Along the way we talk to researchers in interviews, workshops and trials. What we learn goes into the specification, is tested, and is reviewed for privacy, usability and correctness.
- A prototype that covers the whole path on test data: fetch from LimeSurvey, import, hashes, log, comparison and the verifier in Python. This step includes an analysis of the privacy risks. Until then, Tidystudy runs only on synthetic test data.
- Data types, answer texts and questionnaire versions, and the report of what is new or changed. The first workshop takes place, and the interviews begin.
- Timestamps, and withdrawal as a function for researchers. A trial in a running study begins.
- The comparison of analysis files and the sheet for the methods section. A second study and a second workshop follow.
- Sharing and checking parts as functions for researchers and reviewers, with an identifier that reviewers can cite. The record format and the interfaces are fixed.
- Version 1.0, with what the trials and 20 interviews showed, the documentation and a public workshop.
We measure the steps against four targets:
- Two running studies go through fetch or import, comparison and the sheet for the methods section.
- At least five reviewers are able to check and verify a part on their own within 10 minutes.
- In copies of real study data with known changes added to the analysis file, the comparison reports every change. Differences of form only, such as 19 and 19.0 or a code and its label, are reported apart from real changes. Missed changes and false alarms are published.
- 20 interviews with researchers are held and their findings are written up.
After version 1.0, we plan to focus on quality rather than new features, guided by what we learn in the interviews and trials. We will submit Tidystudy to rOpenSci for open review and then to CRAN, and write a guide for new contributors and material for methods courses. For research data offices, we will prepare a paragraph that researchers can copy into their data management plan, and a page that answers the usual questions of data protection officers. We will also apply for follow-up funding and look for a second person to develop the package.
We will decide together with researchers what to build after that, for example a package for Python, more survey tools or an interface for people who do not use R. See Rejected and deferred ideas.
Celine Bencker is a doctoral researcher in psychology at the University of Vienna. She leads the ISSAC study, which follows stress and premenstrual symptoms in daily life (protocol in BMJ Open, 2026).
She is first author of a review with three meta-analyses of 104 studies (British Journal of Psychiatry, 2025) and has published its coding scheme and R code on OSF.
She co-maintains Tidystudy and is responsible for the requirements from research, the interviews and the workshops.
Tim Bencker came up with the idea after hearing Celine's experiences from her meta-analyses. He leads the project and is responsible for the technical design and the user experience. He develops the record format, the R package and the verifier. He founded and runs Oudio, a checkout and distribution platform for audio plugins, and co-developed the open-source audio plugin Scyclone.
- spec: the record format and its test vectors.
- tidystudy-r: the R package.
- handbook: this handbook.
- experiments: scripts from the first feasibility experiments, on synthetic data.
The verifier in Python, and possibly a Python package, will get their own repositories.
This handbook documents the design, its principles and the reasoning behind them:
design/describes how Tidystudy is built and why: Architecture, Principles and constraints, Trust model and privacy, Threat model and Rejected and deferred ideas.users/describes the people Tidystudy is for and the problems they will run into: Personas and use cases and Expected issues.development/holds the Test plan and the Coding practices.adr/holds the decisions, one record each, and the open points that have no record yet.- Evidence lists the sources behind the claims, the tools that were looked at and the results of the experiments.
- The glossary gives one term per concept, in English and German.
Tidystudy is shaped by the people who will use it. If you run studies, review papers or support researchers, we would like to hear from you. Questions, comments on the design and experiences from your own studies are welcome, in English or German. Open an issue in this repository, or see how to contribute.
Each decision is an architecture decision record (ADR) in adr/. An accepted record is decided. A proposed record is still open: it describes the options and recommends one. A change to the design starts as a proposed record.
The specification is the reference. The R package and the planned verifier implement it separately and share only the test vectors of spec (ADR-0049).
Development is test-driven. Each step starts with a failing test, which the test plan derives from the expected issues and the use cases. Functions check their arguments and their results, following the coding practices.
The text of this handbook is under CC BY 4.0. The two scripts in this repository, adr/make-index.py and tools/check-links.py, carry an SPDX header for Apache-2.0, the licence of the code in the other repositories (ADR-0008).