GetData_DataPack: GetData_DataPack

View source: R/dhis2api.R

GetData_DataPackR Documentation

GetData_DataPack

Description

GetData_DataPack

Usage

GetData_DataPack(
  parameters,
  org_units,
  dim_item_sets = datapackcommons::dim_item_sets,
  d2_session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

parameters

paramemters for calling an indicator from datapackcommons::data_required

dim_item_sets

datapackcommons::dim_item_sets or a subset

country

uid or FALSE if no military org_unit (FALSE for Philippines in COP20)

Value

A list with $time = time the function was called, $api_call = api call used, and $results = the data returnd by the analytics call


pepfar-datim/data-pack-commons documentation built on April 26, 2024, 12:09 a.m.