generateApprovalMemo | R Documentation |
Generate COP Approval Memo Target Tables (DOCX Format)
generateApprovalMemo(
d,
memo_type,
draft_memo = TRUE,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
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. |
Returns a COP Memo DOCX object suitable for download
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.