International Journal of Digital Curation (May 2022)

Capturing Data Provenance from Statistical Software

  • George Charles Alter,
  • Jack Gager,
  • Pascal Heus,
  • Carson Hunter,
  • Sanda Ionescu,
  • Jeremy Iverson,
  • H.V. Jagadish,
  • Jared Lyle,
  • Alexander Mueller,
  • Sigve Nordgaard,
  • Ornulf Risnes,
  • Dan Smith,
  • Jie Song

DOI
https://doi.org/10.2218/ijdc.v16i1.763
Journal volume & issue
Vol. 16, no. 1

Abstract

Read online

We have created tools that automate one of the most burdensome aspects of documenting the provenance of research data: describing data transformations performed by statistical software. Researchers in many fields use statistical software (SPSS, Stata, SAS, R, Python) for data transformation and data management as well as analysis. The C2Metadata ("Continuous Capture of Metadata for Statistical Data") Project creates a metadata workflow paralleling the data management process by deriving provenance information from scripts used to manage and transform data. C2Metadata differs from most previous data provenance initiatives by documenting transformations at the variable level rather than describing a sequence of opaque programs. Command scripts for statistical software are translated into an independent Structured Data Transformation Language (SDTL), which serves as an intermediate language for describing data transformations. SDTL can be used to add variable-level provenance to data catalogues and codebooks and to create "variable lineages" for auditing software operations. Better data documentation makes research more transparent and expands the discovery and re-use of research data.