View source: R/get_organisations_by_level.R
get_organisations_by_level | R Documentation |
get_organisations_by_level()
is an experimental function that retrieves
the organisation units along with their parent units.
get_organisations_by_level(
level = 1,
org_ids = NULL,
auth = NULL,
call = caller_env()
)
level |
An integer specifying the desired organisation level (default level 1). |
org_ids |
Optional. A vector of organisation identifiers whose details are being retrieved. |
auth |
Optional. The authentication object |
call |
The call environment. |
A tibble containing the organisation units and their parent units up to the specified level.
# Fetch all the organisation units metadata
organisations <- get_organisations_by_level(level = 2)
organisations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.