getOptionSetMap: Get Option Set Map

View source: R/checkValueTypeCompliance.R

getOptionSetMapR Documentation

Get Option Set Map

Description

Utility function to fetch a list of optionsets and possible values within them

Usage

getOptionSetMap(d2session = dynGet("d2_default_session", inherits = TRUE))

Arguments

d2session

DHIS2 Session id

Value

Returns a data frame structure composed of option set names, UIDs, and a data frame for each of these with individual options present in the option set.

Examples

 ## Not run: 
  op_set_map <- getOptionSetMap()

## End(Not run)

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