tidystats logo


I developed tidystats to solve two different problems in statistics reporting. The first problem is that of incorrect statistics reporting. Many scientific papers contain statistical inconsistencies, likely due to typos and copy-paste mistakes. The second problem is that of incomplete statistics reporting. Researchers often only report the statistics in their papers, which means they need to carefully balance comprehensive reporting with writing a legible text. As a result, statistics are sometimes summarized or omitted in favor of producing a clearer paper.

There are several possible solutions to these two problems. To give people access to all the statistics, one can share the data and scripts of their study so that others can run the analyses themselves and obtain the required statistics. However, this is not (yet) very common, it is often time-consuming to do, and sometimes it is not possible to share the data.

A solution to reducing statistical reporting errors is to write scientific papers using reproducible software solutions like R Markdown. However, there are some downsides to using software like R Markdown. It is more difficult to collaborate with others and I often prefer to use software dedicated to writing papers, such as Microsoft Word.

tidystats is my attempt at producing a user-friendly solution to the problems of incorrect and incomplete statistics reporting.

tidystats works in two steps:

  1. Save the output of statistical tests performed in R
  2. Report statistics in Microsoft Word

The tidystats R package is used to create a machine-readable .JSON file that contains all the statistics contained within your analyses. This file can be read by other software, such as the tidystats Word add-in. This addresses the problem of incomplete statistics reporting because the file contains all the statistics.

The tidystats Word add-in can read the file created by the R package so that you can insert the statistics in your document using a human-friendly interface. Simply click on the statistic(s) you want to insert and the statistic(s) will be inserted into your document. This addresses the problem of incorrect statistics because it does not require manually typing in the statistics.

If you want to know more, such as how to use the R package and the Word add-in, see their respective pages here and here.

tidystats is developed by me.