R/pull_hierarchy.R
hierarchy_rename.Rd
Rename Hierarchy from Levels to OU/SNU1/PSNU/Facility
hierarchy_rename(
df,
country,
username,
password,
baseurl = "https://final.datim.org/"
)
data frame created by hierarchy_extract() %>% hierarchy_clean()
county name, eg "Malawi" or "Nepal"
DATIM username
DATIM password, recommend using mypwd()
API base url, default = https://final.datim.org/