Obtain organization unit attributes from an access tree JSON file
unitAttribute(unit, what, file = NULL, path = Sys.getenv("R_RAP_CONFIG_PATH"))
The corresponding value of 'what'.
Integer providing the look-up unit id
Character string defining what to return for the given unit id
Character string file name of the JSON file. Default values is NULL in which case the corresponding value from rapbaseConfig.yml will be used.
Character string file path of the JSON file. Default value is
Sys.getenv("R_RAP_CONFIG_PATH")
.