checkMechanisms: Check Mechanisms

View source: R/checkMechanisms.R

checkMechanismsR Documentation

Check Mechanisms

Description

Tests mechanisms found in the Data Pack PSNUxIM tab against the Mechanism View from DATIM.

Usage

checkMechanisms(
  d,
  cached_mechs_path = paste0(Sys.getenv("support_files_directory"), "mechs.rds"),
  d2_session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

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.

Value

d


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