prepareMemoMetadata: Populate necessary metadata for the memo

View source: R/prepareMemoData.R

prepareMemoMetadataR Documentation

Populate necessary metadata for the memo

Description

Populate necessary metadata for the memo

Usage

prepareMemoMetadata(
  d,
  memo_type,
  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

d2_session

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

Value

Datapackr d object


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