Skip to contents

Get list of OU Orgs at specific level

Usage

get_ouorgs(
  ouuid,
  level = 4,
  username,
  password,
  baseurl = "https://final.datim.org/"
)

Arguments

ouuid

OU uid

level

org level

username

DATIM Username

password

DATIM password, recommend using `mypwd()`

baseurl

base url for the API, default = https://final.datim.org/

Value

ORG UIDS as tibble

Note

Use `get_orguids()` for levels above 4

Examples

if (FALSE) { # \dontrun{

 library(grabr)

 cntry <- "Zambia"

 uid <- get_ouuid(cntry)

 lvl <- get_ouorglevel(cntry, org_type = "prioritization")

 orgs <- get_ouorgs(ouuid = uid, level = lvl)
} # }