getCurrentDataSets: Get Current datasets provided a data stream

View source: R/getDataSets.R

getCurrentDataSetsR Documentation

Get Current datasets provided a data stream

Description

Get Current datasets provided a data stream

Usage

getCurrentDataSets(
  datastream = "RESULTS",
  d2session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

datastream

One of "RESULTS", "TARGETS", "NARRATIVES", "SIMS". RESULTS and TARGETS refer to the current MER Results and targets datasets NARRATIVES refer to the current MER Results Narratives SIMS refer to the current SIMS datasets.

d2session

DHIS2 Session id

Value

Returns a list of dataset UIDs of the given type

Examples

  ## Not run: 
 ds <- getCurrentDataSets(type="RESULTS", d2session = d2session)
 
## End(Not run)


jason-p-pickering/datim-validation documentation built on April 20, 2023, 5:32 a.m.