Skip to contents

Build PEPFAR/DATIM Query dimension

Usage

datim_dim_url(
  dimension,
  items = NULL,
  username,
  password,
  baseurl = "https://final.datim.org/"
)

Arguments

dimension

Dimension name

items

Item name

username

DATIM Account Username

password

DATIM Account passward

baseurl

DATIM API End point

Value

Valid DATIM Query Params url

Examples

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

  datim_dim_url(dimension = "Sex")

  datim_dim_url(
    dimension = "Disaggregation Type",
    items = "Age/Sex/HIVStatus"
  )

  datim_dim_url(
    dimension = "Disaggregation Type",
    items = c("Age/Sex", "Age/Sex/HIVStatus")
  )

} # }