Description Usage Arguments Value Note
remapMechs should be supplied a vector of data mechanisms (names,codes or shortnames) along with the other required paramaters. It will return a vector of UIDs.
1 | remapMechs(mechs_in, organisationUnit, mode_in = "code", mode_out = "id")
|
mechs_in |
A vector of data element identifiers (codes, names or shortNames) |
organisationUnit |
The UID of the operating unit. |
mode_in |
Should be one of code, name or id. This is the class we are mapping from. |
mode_out |
Should be one of code,name or id. This is the class we are mapping to. |
Returns a vector of mechanism UIDs
remapMechs(foo,"https://www.datim.org","admin","district","code","Ab12345678") will remap mechanisms specified as codes to UIDs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.