Pull Hierarchy Data from DATIM
hierarchy_extract(
ou_uid,
username,
password,
baseurl = "https://final.datim.org/"
)
UID for the country, recommend using identify_ouuids()
DATIM username
DATIM password, recommend using mypwd()
API base url, default = https://final.datim.org/
if (FALSE) {
#get OU UID
ouuid <- identify_ouuids() %>% dplyr::filter(ou == "Kenya")
#pull hierarchy (paths are all UIDs)
df <- hierarchy_extract(ouuid, username = myuser, password = mypwd(myuser)) }