Get all orgunits levels in org hierarchy
Usage
get_levels(
username,
password,
expand = FALSE,
reshape = FALSE,
baseurl = "https://final.datim.org/"
)
Arguments
- username
DATIM username, recommed using glamr::datim_user()`
- password
DATIM password, recommend using glamr::datim_pwd()`
- expand
Fill in missing snu1 level? default is FALSE
- reshape
Reshape data as long? default is FALSE
- baseurl
base API url, default = https://final.datim.org/
Note
Similar to `grabr::identify_levels()` and `grabr::get_outable()`
Examples
if (FALSE) { # \dontrun{
library(grabr)
# Get PEPFAR Org Levels
get_levels()
} # }