View source: R/checkMechanisms.R
| checkMechanisms | R Documentation | 
Tests mechanisms found in the Data Pack PSNUxIM tab against the Mechanism View from DATIM.
checkMechanisms(
  d,
  cached_mechs_path = paste0(Sys.getenv("support_files_directory"), "mechs.rds"),
  d2_session = dynGet("d2_default_session", inherits = TRUE)
)
| d | Datapackr sidecar object | 
| cached_mechs_path | Local file path to an RDS file containing a cached copy of the mechanisms SQL view. | 
| d2_session | DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. | 
d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.