generateApprovalMemo: Generate COP Approval Memo Target Tables (DOCX Format)

generateApprovalMemoR Documentation

Generate COP Approval Memo Target Tables (DOCX Format)

Description

Generate COP Approval Memo Target Tables (DOCX Format)

Usage

generateApprovalMemo(
  d,
  memo_type,
  draft_memo = TRUE,
  d2_session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

d

Datapackr sidecar object

memo_type

memo_type One of the following: datapack: Create the memo based on the data in the datapack or OPU datapack datim: Create the memo based on data currently in DATIM comparison: Create a comparison memo with data from both DATIM and datapack

draft_memo

Boolean indicating whether the memo being written is a draft or final memo.

d2_session

DHIS2 Session id. R6 datimutils object which handles authentication with DATIM.

Value

Returns a COP Memo DOCX object suitable for download


pepfar-datim/datapackr documentation built on April 14, 2024, 10:35 p.m.