Skip to contents

Records versions, seeds, the SHA-256 of input files and of the feature spec, the git commit, wall time and the cohort size at each attrition step. Mirror of omop_etl.run_manifest.RunManifest; the JSON files are interchangeable. Add steps with run_manifest_add_step() and finish with write_run_manifest().

Usage

run_manifest(
  entry_point,
  seeds = list(),
  inputs = character(),
  feature_spec = NULL,
  extra = list(),
  git_dir = NULL
)

Arguments

entry_point

Name of the pipeline step (e.g. "cohort define").

seeds

Named list of random seeds.

inputs

Character vector of input files to hash.

feature_spec

Optional path to the feature spec.

extra

Named list of extra provenance.

git_dir

Directory in which to run git rev-parse HEAD.

Value

An environment of class run_manifest (mutable, so steps can be added in place).