DATIM API Call for Targets
get_datim_data(url, username, password)
supply url forAPI call, recommend usinggen_url()
DATIM username
DATIM password, recommend using mypwd()
if (FALSE) {
myurl <- paste0(baseurl, "api/29/analytics.json?
dimension=LxhLO68FcXm:udCop657yzi&
dimension=ou:LEVEL-4;HfVjCurKxh2&
filter=pe:2018Oct&
displayProperty=SHORTNAME&outputIdScheme=CODE")
myuser <- "UserX"
df_datim <- get_datim_data(myurl, myuser, mypwd(myuser)) }