Skip to contents

Get PEPFAR/DATIM Dimension Items

Usage

datim_dim_items(
  dimension,
  username,
  password,
  var = NULL,
  fields = NULL,
  baseurl = "https://final.datim.org/"
)

Arguments

dimension

Dimension name

username

DATIM Account Username

password

DATIM Account passward

var

column name to pull values from, id or item

fields

list of column names to return, this will overwrite `var`

baseurl

DATIM API end point

Value

Dimension's items as tibble or vector

Examples

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

  datim_dim_items(dimension = "Funding Agency")
  datim_dim_items(dimension = "Funding Agency", var = "item")
} # }