View source: R/pull_hierarchy.R
hierarchy_extract | R Documentation |
Pull Hierarchy Data from DATIM
hierarchy_extract(
ou_uid,
username,
password,
baseurl = "https://final.datim.org/"
)
ou_uid |
UID for the country, recommend using |
username |
DATIM username |
password |
DATIM password, recommend using |
baseurl |
API base url, default = https://final.datim.org/ |
## Not run:
#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))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.