View source: R/pull_hierarchy.R
pull_hierarchy | R Documentation |
Compile PEPFAR Hierarchy
pull_hierarchy(
ou_uid,
username,
password,
baseurl = "https://final.datim.org/",
folderpath_output = NULL
)
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/ |
folderpath_output |
provide the full path to the folder for saving |
## Not run:
#get OU UID
ouuid <- identify_ouuids() %>% dplyr::filter(ou == "Kenya")
#pull hierarchy (paths are all UIDs)
df <- pull_hierarchy(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.