Skip to contents

Downloads All Global + OU Specific MSDs

Usage

pano_extract_msds(
  operatingunit,
  add_global = TRUE,
  items = "mer",
  archive = FALSE,
  dest_path,
  username,
  password,
  baseurl = "https://pepfar-panorama.org"
)

Arguments

operatingunit

PEPFAR Operating Unit. Default is set to NULL for global datasets

add_global

Add global datasets in this extract? Default is TRUE

items

Panorama data set, default option is `mer`

archive

Logical, should the old files be archived? default=FALSE

dest_path

Directory path to download file. Default set to `glamr::si_path()`

username

Panorama username, recommend using `glamr::pano_user()`

password

Panorama password, recommend using `glamr::pano_pwd()`

baseurl

Panorama base url, default="https://pepfar-panorama.org"

Examples

if (FALSE) { # \dontrun{
 dir_mer <- si_path()

 pano_extract_msds(operatingunit = "Zambia",
                   archive = TRUE,
                   dest_path = dir_mer)
} # }