finalise: Finalise code run

View source: R/finalise.R

finaliseR Documentation

Finalise code run

Description

Finalise Code Run and push associated metadata to the local registry.

Usage

finalise(handle, delete_if_empty = FALSE, delete_if_duplicate = FALSE)

Arguments

handle

an object of class fdp, R6 containing metadata required by the Data Pipeline API

delete_if_empty

(optional) default is FALSE; see Details

delete_if_duplicate

(optional) default is FALSE; see Details

Details

If a Code Run does not read an input, write an output, or attach an issue, then delete the Code Run entry when delete_if_empty is set to TRUE.

If a data product has the same hash as a previous version, remove it from the registry when delete_if_duplicate is set to TRUE.


ScottishCovidResponse/SCRCdataAPI documentation built on July 26, 2023, 9:47 p.m.