Skip to contents

Extract DATIM Results and Targets (DATIM API Call)

Usage

pull_mer(
  ou_name = NULL,
  username,
  password,
  baseurl = "https://final.datim.org/",
  fy_pd = NULL,
  quarters_complete = NULL,
  folderpath_output = NULL
)

Arguments

ou_name

Operating Unit name, if mechanism is not specified

username

DATIM username

password

DATIM password, recommend using `mypwd()`

baseurl

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

fy_pd

fiscal year(s) to cover, default will be current FY if not provided

quarters_complete

no. of quarters completed through FY to determine weeks left in year

folderpath_output

folder path to store DATIM output, default = NULL

Examples

if (FALSE) { # \dontrun{
 #ou mer data
 myuser <- "UserX"
 mech_x_dta <- pull_mer(ou_name = "Namibia", username = myuser, password = mypwd(myuser))
 } # }