getValidDataElements: Get Invalid Data Elements

View source: R/getValidDataElements.R

getValidDataElementsR Documentation

Get Invalid Data Elements

Description

Utility function to produce a data frame of valid data elements based on current DATIM form specification.

Usage

getValidDataElements(
  datasets = NA,
  d2session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

datasets

Should be a character vector of data set UIDs. Alternatively, if left missing, user will be promted to choose from a list.

d2session

DHIS2 Session id

Value

Returns a data frame of "dataSet", "dataElementName", "shortname", "code", "dataelementuid", "categoryOptionComboName"


pepfar-datim/datim-validation documentation built on Oct. 17, 2024, 3:45 p.m.