unPackOPUDataPack: Unpack a submitted OPU Data Pack

View source: R/unPackOPUDataPack.R

unPackOPUDataPackR Documentation

Unpack a submitted OPU Data Pack

Description

Processes a submitted OPU Data Pack (in .xlsx format) by identifying integrity issues, checking data against DATIM validations, and extracting data.

Usage

unPackOPUDataPack(
  d,
  pzns = NULL,
  mer_data = NULL,
  d2_session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

d

datapackr sidecar

d2_session

DHIS2 Session id

Details

Once this function is called, it will present a dialog box where you can select the file location of the Data Pack to be processed.

If Operating Unit name and id in the Data Pack's Home tab do not match based on cross-reference with DATIM organization hierarchies, you will be prompted to manually select the correct Operating Unit associated with the Data Pack to be processed. Enter this information in the Console as directed.

The final message in the Console prints all warnings identified in the Data Pack being processed.


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