getInvalidMechanisms: Function which checks the validity of mechanisms

Description Usage Arguments Value Note

View source: R/getInvalidMechanisms.R

Description

checkValidMechanisms should be supplied a d2Parser compliant data frame along with the operating unit UID along with the other required paramaters. It will return a vector of non-valid mechanism UIDs which were part of the data

Usage

1
getInvalidMechanisms(data, organisationUnit = NA)

Arguments

data

d2Parser data frame

organisationUnit

UID of the operating unit.Defaults to the user organisation unit if left blank

Value

Returns a vector of non-valid mechanisms

Note

getValidMechanisms(foo,"https://www.datim.org","admin","district","Ab12345678") will remap organisation units specified as codes to UIDs


gandiwan/datim-validation documentation built on Dec. 20, 2021, 9:47 a.m.