Skip to contents

DATIM API Call for Targets

Usage

get_datim_targets(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_targets <- get_datim_targets(myurl, myuser, mypwd(myuser)) } # }