uploadDATIMExportToPDAP: Upload DATIM Export to PDAP

View source: R/utilsForPDAP.R

uploadDATIMExportToPDAPR Documentation

Upload DATIM Export to PDAP

Description

Extracts current COP year data from the d object, formats it, and uploads the data to PDAP.

Usage

uploadDATIMExportToPDAP(raw_file, job_type, content_type = "text/csv")

Arguments

raw_file

Raw binary data of the CSV file to upload

job_type

The type of job to upload the data to. Currently only target_setting_tool or year_two_targets are supported.

Value

Returns the S3 file location of the uploaded file if successful, otherwise NULL


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