| prepareMemoData | R Documentation | 
A list of tables is returned in d$memo$datapack or d$memo$datim depending on the requested type.
by_psnu: Dataframe of indicators aggregated to the PSNU level by_prio: Dataframe of indicators aggregated to the prioritization level by_partner: Dataframe of indicators aggregate to the partner level
prepareMemoData(
  d,
  memo_type,
  include_no_prio = TRUE,
  n_cores = getMaxCores(),
  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 | 
| include_no_prio | If TRUE, include  | 
| n_cores | Indicates how many cores should be used. | 
| d2_session | DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. | 
Datapackr d object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.