commit_data_provenance: Commits data provenance to REDCap about files in S3 with a...

View source: R/commit_data_provenance.R

commit_data_provenanceR Documentation

Commits data provenance to REDCap about files in S3 with a unique id

Description

Commits data provenance to REDCap about files in S3 with a unique id

Usage

commit_data_provenance(
  uuid = NULL,
  bucket_name = NULL,
  object_key = NULL,
  DAG = NULL,
  data_provenance = NULL
)

Arguments

uuid

(Required without bucket_name, object_key and DAG) Unique ID of the file in S3

bucket_name

(Required without uuid) Bucket where the file is stored

object_key

(Required without uuid) Key of the file in S3 (such as tg/projectA/file.csv)

DAG

(Required without uuid) Data access group to assign this file to

data_provenance

(Required) A named list of character objects that contains the data provenance to commit to REDCap about this file.


FredHutch/tgR.data documentation built on May 30, 2022, 9:30 a.m.