Data scientists regularly incorporate many different datasets into data analyses. Yet, communication tools for organizing important information about the different datasets used and how they relate to the key variables of the analysis are lacking. Therefore, in this paper we propose a new communication tool: the variTable. The variTable is a seven-column table that consolidates, organizes, and summarizes high-level variable development information for inclusion in original research articles. Specifically, the variTable shows for the key variables in an analysis what data sources were used, how they were used, and whether they were altered for the analysis. Additionally, to make building variTables easier, we present the variTable R package. We illustrate use of the variTable structure and R package for a real-world observational study that used nine different datasets to examine the association between air pollution and asthma in children. Ultimately, we hope that the variTable can serve as a practical communication tool for sharing and understanding important information about the variable development process in data analysis.
Pub. online:12 Jun 2025Type:Data Science In ActionOpen Access
Journal:Journal of Data Science
Volume 24, Issue 1 (2026): Special Issue: Statistical aspects of Trustworthy Machine Learning, pp. 239–253
Abstract
A challenge that data scientists face is building an analytic product that is useful and trustworthy for a given audience. Previously, a set of principles for describing data analyses were defined that can be used to create a data analysis and to characterize the variation between analyses. Here, we introduce a concept called the alignment of a data analysis, which is between the data analyst and an audience. We define an aligned data analysis as the matching of principles between the analyst and the audience for whom the analysis is developed. In this paper, we propose a model for evaluating the alignment of a data analysis and describe some of its properties. We argue that more generally, this framework provides a language for characterizing alignment and can be used as a guide for practicing data scientists to building better data products.