Rename Hierarchy from Levels to OU/SNU1/PSNU/Facility

hierarchy_rename(
  df,
  country,
  username,
  password,
  baseurl = "https://final.datim.org/"
)

Arguments

df

data frame created by hierarchy_extract() %>% hierarchy_clean()

country

county name, eg "Malawi" or "Nepal"

username

DATIM username

password

DATIM password, recommend using mypwd()

baseurl

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