getExistingFileS3Location: Title

View source: R/utilsForPDAP.R

getExistingFileS3LocationR Documentation

Title

Description

Given a job type, organization unit ID, and period ID, this function will return the S3 file location of the existing job. If no job is found, NULL will be returned. If more than one job is found, a warning will be issued and the first job will be used. If an error occurs, NULL will be returned.

Usage

getExistingFileS3Location(job_type, org_unit_id, period_id)

Arguments

job_type

Type of job to get, i.e. 'target_setting_tool'

org_unit_id

UID of the organization unit

period_id

ISO8601 formatted period ID

Value

Returns the S3 file location of the existing job, otherwise NULL


pepfar-datim/datapackr documentation built on Oct. 12, 2024, 3:33 p.m.