Description Usage Arguments Value Note
remapDes should be supplied a vector of data elements (names,codes or shortnames) along with the other required paramaters. It will return a vector of identifiers of a different class.
1 | remapDEs(des_in, mode_in = "code", mode_out = "id")
|
des_in |
A vector of data element identifiers (codes, names or shortNames) |
mode_in |
Should be one of code, name or shortName. This is the class we are mapping from to UIDs. |
mode_out |
Should be one of code,name, shortName or id. This is the class we are mapping to. |
Returns a vector of DATIM uids for each data element which needs to be remapped.
remapDes(foo,"https://www.datim.org","admin","district","code") will remap data elements specified as codes to UIDs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.