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