Skip to content

StepUp Data: Data Exchange and Archiving

StepUp Data helps you manage data files of a research project. It records them in inventories, packs them into ZIP files and keeps them in sync with Zenodo. As an extension of StepUp Core, a universal dynamic build tool, it performs these tasks as build steps that rerun only when their inputs change. StepUp Data is part of Reproducible Reporting.

StepUp Data is in early development, and its API may still change.

For production use, keep using StepUp RepRep 4.2.

The section From StepUp RepRep 4.2 to StepUp Data 4.3 lists all changes to the API.

Overview

StepUp Data collects the files of a project into datasets that can be exchanged and archived. Inventories are the common basis of all its features:

  • An inventory lists the files of a dataset with their sizes and digests, so that copies of the files can be checked at any time. make_inventory() writes an inventory as a step of a StepUp workflow, and sd-check-inventory checks files against it.
  • Files that the workflow builds are added to an inventory by name, or through the step info files that other steps write. A step info file lists the inputs and outputs of a step that are only known when the step runs, so that the inventory follows the step without listing its files by hand. See Files Listed in Step Info Files.
  • zip_inventory() packs the files of an inventory into a reproducible ZIP file, see Creating a ZIP Archive.
  • sync_zenodo() keeps the files of an inventory in sync with a draft dataset on Zenodo, together with its metadata, see Synchronize a Zenodo Dataset.

Archive a Git Repository explains how to deposit the history and the sources of a project as static files.