Skip to contents

DATIM API Call for Targets

Usage

get_datim_data(url, username, password)

Arguments

url

supply url forAPI call, recommend using `gen_url()`

username

DATIM username

password

DATIM password, recommend using `mypwd()`

Examples

if (FALSE) { # \dontrun{
 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)) } # }