Skip to contents

Get Org UIDS

Usage

get_orguids(
  level = 3,
  username,
  password,
  baseurl = "https://final.datim.org/"
)

Arguments

level

Org level

username

DATIM Username, recommend using glamr::datim_user()`

password

DATIM password, recommend using glamr::datim_pwd()`

baseurl

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

Value

ORG UIDS as tibble

Note

Use with caution. Use `get_ouorguids()` for levels below 3

Examples

if (FALSE) { # \dontrun{
 library(grabr)

 # All orgunit level 3 uids + names
 orgs <- get_orguids(level = 3)
} # }