Skip to contents

Extract data outputs from Panorama

Usage

pano_extract(
  item = "mer",
  version,
  fiscal_year,
  quarter,
  unpack = FALSE,
  username,
  password,
  session = NULL,
  baseurl = "https://pepfar-panorama.org"
)

Arguments

item

Panorama data type. Eg: mer, financial, sims, narratives

version

Data release version: Initial or Clean, defaults to current version if blank

fiscal_year

Reporting Fiscal year, defaults to current FY if blank

quarter

Reporting Quarter, defaults to current quarter if blank

unpack

If TRUE, unpack nested directories

username

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

password

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

session

Login session, only used within other `pano_extract_*()`

baseurl

Panorama base url

Value

list of output files as data frame

Note

This function combines `pano_session()`, `pano_content()`, `pano_elements()`, and in some cases `pano_unpack()`

Examples

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

  pano_extract(item = "mer")
} # }