Skip to contents

Get OU Org level

Usage

get_ouorglevel(
  operatingunit,
  country = NULL,
  org_type = "prioritization",
  username,
  password,
  baseurl = "https://final.datim.org/"
)

Arguments

operatingunit

Operatingunit name

country

Country name (default = Operatingunit)

org_type

Orgunit type (country_lvl, prioritization, community, facility_lvl)

username

Datim Account username

password

Datim Account Password

baseurl

Datim Base URL

Value

uid

Examples

if (FALSE) { # \dontrun{
 library(grabr)

 cntry <- "Zambia"

 # Get country org level
 get_ouorglevel(cntry)

 # Get community org level
 get_ouorglevel(cntry, org_type = "community")
} # }