Skip to contents

Extract PLHIV and General POP Estimates from datim

Usage

datim_pops(
  ou,
  username,
  password,
  level = "country",
  fy = NULL,
  hierarchy = FALSE,
  baseurl = "https://final.datim.org/"
)

Arguments

ou

Operatingunit

username

Datim account username

password

Datim account password

level

Organization level

fy

Fiscal Year

hierarchy

Should additional organizational hierarchy be added?, default is FALSE

baseurl

DATIM API base url

Value

PLHIV and POP_EST Data

Examples

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

  datim_pops(ou = "Nigeria")

  datim_pops(ou = "Nigeria", fy = 2021)

  datim_pops(ou = "Nigeria", level = "psnu", fy = 2021, hierarchy = TRUE)
} # }