View source: R/userAttribute.R
unitAttribute | R Documentation |
Obtain organization unit attributes from an access tree JSON file
unitAttribute(unit, what, file = NULL, path = Sys.getenv("R_RAP_CONFIG_PATH"))
unit |
Integer providing the look-up unit id |
what |
Character string defining what to return for the given unit id |
file |
Character string file name of the JSON file. Default values is NULL in which case the corresponding value from rapbaseConfig.yml will be used. |
path |
Character string file path of the JSON file. Default value is
|
The corresponding value of 'what'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.