{
  "_id": "6a104430acfb0bcc41c9e354",
  "Package": "grabr",
  "Type": "Package",
  "Title": "OHA/SI APIs Package",
  "Version": "2.1.2",
  "Authors@R": "c(\nperson(\"Aaron\", \"Chafetz\", ,\"achafetz@usaid.gov\", c(\"aut\", \"cre\")),\nperson(\"Tim\", \"Essam\", ,\"tessam@usaid.gov\", c(\"aut\")),\nperson(\"Baboyma\", \"Kagniniwa\", , \"bkagniniwa@usaid.gov\", c(\"aut\"))\n)",
  "Description": "Provides a series of base functions useful to the GH OHA\nSI team. These function extend the utility functions in glamr,\nfocusing primarily on API utility functions.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/USAID-OHA-SI/grabr,\nhttps://usaid-oha-si.github.io/grabr/",
  "BugReports": "https://github.com/USAID-OHA-SI/grabr/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Remotes": [
    "USAID-OHA-SI/glamr",
    "USAID-OHA-SI/gagglr"
  ],
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake git make libgit2-dev libicu-dev libuv1-dev\nlibxml2-dev libssl-dev libx11-dev",
  "Repository": "https://usaid-oha-si.r-universe.dev",
  "Date/Publication": "2024-09-30 12:54:15 UTC",
  "RemoteUrl": "https://github.com/USAID-OHA-SI/grabr",
  "RemoteRef": "HEAD",
  "RemoteSha": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 06:41:53 UTC",
    "User": "root"
  },
  "Author": "Aaron Chafetz [aut, cre],\nTim Essam [aut],\nBaboyma Kagniniwa [aut]",
  "Maintainer": "Aaron Chafetz <achafetz@usaid.gov>",
  "MD5sum": "7a3d7766452f0ecd82f2d4d992cb27e8",
  "_user": "usaid-oha-si",
  "_type": "src",
  "_file": "grabr_2.1.2.tar.gz",
  "_fileid": "67aff30ad82937d3a43d1fd281e59b5ea64b8af540158ac8e26afef2aaa4a1c8",
  "_filesize": 265065,
  "_sha256": "67aff30ad82937d3a43d1fd281e59b5ea64b8af540158ac8e26afef2aaa4a1c8",
  "_created": "2026-05-11T06:41:53.000Z",
  "_published": "2026-05-22T11:55:28.440Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77374345697,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6911896331"
    },
    {
      "job": 77374345395,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6911900204"
    },
    {
      "job": 77374345293,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6911909393"
    },
    {
      "job": 77374345139,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6911903645"
    },
    {
      "job": 77374345237,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911865404"
    },
    {
      "job": 77374344918,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159867652"
    },
    {
      "job": 77374345518,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6911892171"
    },
    {
      "job": 77374345685,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6911893642"
    },
    {
      "job": 77374345805,
      "time": 80,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6911884963"
    }
  ],
  "_buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/USAID-OHA-SI/grabr",
  "_commit": {
    "id": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
    "author": "Aaron Chafetz <achafetz@usaid.gov>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #67 from USAID-OHA-SI/dev_int\n\nDev int",
    "time": 1727700855
  },
  "_maintainer": {
    "name": "Aaron Chafetz",
    "email": "achafetz@usaid.gov",
    "login": "achafetz",
    "uuid": 8933069
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "aws.s3",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "getPass",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "rvest",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "usethis",
      "role": "Imports"
    },
    {
      "package": "urltools",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Suggests"
    },
    {
      "package": "zip",
      "role": "Suggests"
    },
    {
      "package": "googlesheets4",
      "role": "Suggests"
    },
    {
      "package": "janitor",
      "role": "Suggests"
    },
    {
      "package": "keyring",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "plyr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "vroom",
      "role": "Suggests"
    },
    {
      "package": "countrycode",
      "role": "Suggests"
    }
  ],
  "_owner": "usaid-oha-si",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "achafetz",
      "count": 287,
      "uuid": 8933069
    },
    {
      "user": "baboyma",
      "count": 178,
      "uuid": 3952707
    },
    {
      "user": "benjaminnk",
      "count": 7,
      "uuid": 62769562
    },
    {
      "user": "jessmhoehner",
      "count": 1,
      "uuid": 44708009
    },
    {
      "user": "tessam30",
      "count": 1,
      "uuid": 5873344
    }
  ],
  "_userbio": {
    "uuid": 24459861,
    "type": "organization",
    "name": "USAID OHA SI"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/grabr"
  },
  "_devurl": "https://github.com/usaid-oha-si/grabr",
  "_pkgdown": "https://usaid-oha-si.github.io/grabr/",
  "_searchresults": 75,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/grabr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "datim_dim_item",
    "datim_dim_items",
    "datim_dim_url",
    "datim_dimension",
    "datim_dimensions",
    "datim_execute_query",
    "datim_mechs",
    "datim_orgunits",
    "datim_pops",
    "datim_process_query",
    "datim_pull_hierarchy",
    "datim_query",
    "datim_sqlviews",
    "gen_url",
    "get_baseurl",
    "get_datim_data",
    "get_datim_targets",
    "get_levels",
    "get_orguids",
    "get_ouorglabel",
    "get_ouorglevel",
    "get_ouorgs",
    "get_ouorguids",
    "get_outable",
    "get_ouuid",
    "get_ouuids",
    "identify_levels",
    "identify_ouuids",
    "lazy_secrets",
    "package_check",
    "pano_download",
    "pano_extract",
    "pano_extract_msd",
    "pano_extract_msds",
    "pano_items",
    "pano_session",
    "pull_mech",
    "pull_mer",
    "s3_buckets",
    "s3_download",
    "s3_excel_sheets",
    "s3_object_type",
    "s3_objects",
    "s3_read_object",
    "s3_remove",
    "s3_unpack_keys",
    "s3_upload",
    "var_exists",
    "wave_process_query"
  ],
  "_help": [
    {
      "page": "datim_dim_item",
      "title": "Get dimension / item id",
      "topics": [
        "datim_dim_item"
      ]
    },
    {
      "page": "datim_dim_items",
      "title": "Get PEPFAR/DATIM Dimension Items",
      "topics": [
        "datim_dim_items"
      ]
    },
    {
      "page": "datim_dim_url",
      "title": "Build PEPFAR/DATIM Query dimension",
      "topics": [
        "datim_dim_url"
      ]
    },
    {
      "page": "datim_dimension",
      "title": "Get PEPFAR/DATIM Dimension ID",
      "topics": [
        "datim_dimension"
      ]
    },
    {
      "page": "datim_dimensions",
      "title": "Get PEPFAR/DATIM dimensions",
      "topics": [
        "datim_dimensions"
      ]
    },
    {
      "page": "datim_execute_query",
      "title": "Execute Datim Query",
      "topics": [
        "datim_execute_query"
      ]
    },
    {
      "page": "datim_mechs",
      "title": "Extract Mechanisms infos from Datim",
      "topics": [
        "datim_mechs"
      ]
    },
    {
      "page": "datim_orgunits",
      "title": "Pull Orgunits SQLView",
      "topics": [
        "datim_orgunits"
      ]
    },
    {
      "page": "datim_pops",
      "title": "Extract PLHIV and General POP Estimates from datim",
      "topics": [
        "datim_pops"
      ]
    },
    {
      "page": "datim_process_query",
      "title": "Process Datim Query results",
      "topics": [
        "datim_process_query"
      ]
    },
    {
      "page": "datim_pull_hierarchy",
      "title": "Extract PEPFAR Org Hierarchy",
      "topics": [
        "datim_pull_hierarchy"
      ]
    },
    {
      "page": "datim_query",
      "title": "Query PEPFAR/DATIM targets/results data",
      "topics": [
        "datim_query"
      ]
    },
    {
      "page": "datim_sqlviews",
      "title": "Query Datim SQLViews",
      "topics": [
        "datim_sqlviews"
      ]
    },
    {
      "page": "gen_url",
      "title": "Generate a API URL",
      "topics": [
        "gen_url"
      ]
    },
    {
      "page": "get_baseurl",
      "title": "Get base url from a link",
      "concept": [
        "utility"
      ],
      "topics": [
        "get_baseurl"
      ]
    },
    {
      "page": "get_datim_data",
      "title": "DATIM API Call for Targets",
      "topics": [
        "get_datim_data"
      ]
    },
    {
      "page": "get_datim_targets",
      "title": "DATIM API Call for Targets",
      "topics": [
        "get_datim_targets"
      ]
    },
    {
      "page": "get_levels",
      "title": "Get all orgunits levels in org hierarchy",
      "topics": [
        "get_levels"
      ]
    },
    {
      "page": "get_orguids",
      "title": "Get Org UIDS",
      "topics": [
        "get_orguids"
      ]
    },
    {
      "page": "get_ouorglabel",
      "title": "Identify OU/Org Label",
      "topics": [
        "get_ouorglabel"
      ]
    },
    {
      "page": "get_ouorglevel",
      "title": "Get OU Org level",
      "topics": [
        "get_ouorglevel"
      ]
    },
    {
      "page": "get_ouorgs",
      "title": "Get list of OU Orgs at specific level",
      "topics": [
        "get_ouorgs"
      ]
    },
    {
      "page": "get_ouorguids",
      "title": "Get Orgs uids by level",
      "topics": [
        "get_ouorguids"
      ]
    },
    {
      "page": "get_outable",
      "title": "Pull Table of OUs/Countries, UIDs, ISO codes and levels",
      "topics": [
        "get_outable"
      ]
    },
    {
      "page": "get_ouuid",
      "title": "Get Operatingunit / Country Org UID",
      "topics": [
        "get_ouuid"
      ]
    },
    {
      "page": "get_ouuids",
      "title": "Get OU Org UIDS",
      "topics": [
        "get_ouuids"
      ]
    },
    {
      "page": "identify_levels",
      "title": "Identify Facility/Community levels in org hierarchy",
      "topics": [
        "identify_levels"
      ]
    },
    {
      "page": "identify_ouuids",
      "title": "Pull OU UIDS",
      "topics": [
        "identify_ouuids"
      ]
    },
    {
      "page": "lazy_secrets",
      "title": "Lazy checking/loading of credentials",
      "topics": [
        "lazy_secrets"
      ]
    },
    {
      "page": "pano_download",
      "title": "Download file from PEPFAR Panorama",
      "topics": [
        "pano_download"
      ]
    },
    {
      "page": "pano_extract",
      "title": "Extract data outputs from Panorama",
      "topics": [
        "pano_extract"
      ]
    },
    {
      "page": "pano_extract_msd",
      "title": "Downloads Country Specific MSDs",
      "topics": [
        "pano_extract_msd"
      ]
    },
    {
      "page": "pano_extract_msds",
      "title": "Downloads All Global + OU Specific MSDs",
      "topics": [
        "pano_extract_msds"
      ]
    },
    {
      "page": "pano_items",
      "title": "Extract data items from url",
      "topics": [
        "pano_items"
      ]
    },
    {
      "page": "pano_session",
      "title": "Create an active session for PEPFAR Panorama",
      "topics": [
        "pano_session"
      ]
    },
    {
      "page": "pull_mech",
      "title": "Pull Partner/Mechanism Info from DATIM",
      "topics": [
        "pull_mech"
      ]
    },
    {
      "page": "pull_mer",
      "title": "Extract DATIM Results and Targets (DATIM API Call)",
      "topics": [
        "pull_mer"
      ]
    },
    {
      "page": "s3_buckets",
      "title": "Get S3 Buckets list",
      "topics": [
        "s3_buckets"
      ]
    },
    {
      "page": "s3_download",
      "title": "Download S3 Objects",
      "topics": [
        "s3_download"
      ]
    },
    {
      "page": "s3_excel_sheets",
      "title": "Read sheets from S3 Objects / Excel",
      "topics": [
        "s3_excel_sheets"
      ]
    },
    {
      "page": "s3_object_type",
      "title": "Idenfity S3 Object type",
      "topics": [
        "s3_object_type"
      ]
    },
    {
      "page": "s3_objects",
      "title": "Get S3 Bucket objects list",
      "topics": [
        "s3_objects"
      ]
    },
    {
      "page": "s3_read_object",
      "title": "Read content of S3 Objects",
      "topics": [
        "s3_read_object"
      ]
    },
    {
      "page": "s3_remove",
      "title": "Remove objects from S3 bucket",
      "topics": [
        "s3_remove"
      ]
    },
    {
      "page": "s3_unpack_keys",
      "title": "Unpack Objects Key",
      "topics": [
        "s3_unpack_keys"
      ]
    },
    {
      "page": "s3_upload",
      "title": "Upload file to S3 Bucket",
      "topics": [
        "s3_upload"
      ]
    },
    {
      "page": "var_exists",
      "title": "Check if variable exist",
      "concept": [
        "utility"
      ],
      "topics": [
        "var_exists"
      ]
    },
    {
      "page": "wave_process_query",
      "title": "Pull Genie Data from PDAP Wave",
      "topics": [
        "wave_process_query"
      ]
    }
  ],
  "_pkglogo": "https://github.com/USAID-OHA-SI/grabr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/USAID-OHA-SI/grabr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "aws.s3",
    "aws.signature",
    "base64enc",
    "cellranger",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "credentials",
    "curl",
    "desc",
    "digest",
    "dplyr",
    "fs",
    "generics",
    "gert",
    "getPass",
    "gh",
    "gitcreds",
    "glue",
    "hms",
    "httr",
    "httr2",
    "ini",
    "jsonlite",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rappdirs",
    "Rcpp",
    "readxl",
    "rematch",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "rvest",
    "selectr",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "triebeard",
    "urltools",
    "usethis",
    "utf8",
    "vctrs",
    "whisker",
    "withr",
    "xml2",
    "yaml",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "data-extraction-from-panorama.Rmd",
      "filename": "data-extraction-from-panorama.html",
      "title": "Data Extraction from Panorama",
      "author": "Baboyma Kagniniwa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Datasets",
        "Pre-requisites",
        "Create an active session",
        "Extract content from download page",
        "Download specific items from Panorama",
        "Download mutiple items from Panorama",
        "Download specific MSD / OU Specific items from Panorama",
        "Download latest MSD / OU Specific items from Panorama"
      ],
      "created": "2021-09-23 16:07:49",
      "modified": "2023-12-12 21:05:22",
      "commits": 7
    },
    {
      "source": "data-lookup-and-extraction-from-datim.Rmd",
      "filename": "data-lookup-and-extraction-from-datim.html",
      "title": "Look up and extract organization hierarchy",
      "author": "Baboyma Kagniniwa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Functions reference",
        "Look ups",
        "Queries",
        "Dimensions",
        "SQLViews"
      ],
      "created": "2024-01-17 22:31:53",
      "modified": "2024-01-18 17:31:29",
      "commits": 2
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "grabr",
  "_universes": [
    "usaid-oha-si",
    "achafetz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-05-11T06:44:04.000Z",
      "distro": "noble",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "892d5d752f68bdfdea3f098353daa590eabe2dbfa3d5b08d86bf893beaf53a05",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-05-11T06:44:20.000Z",
      "distro": "noble",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "99f780a6574365e0b693f41716df101a59b48bc995cf3813a870214261bcd54d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.2",
      "date": "2026-05-11T06:45:00.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "899bd05ec03a4de17f5004bda2a24c0b913e432b4e8fd87d8d2249fd8f752d3c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.2",
      "date": "2026-05-11T06:44:34.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "c14bd7184dffe2a082e9b3657aa2b21fc6163324d2235b0ada77932cd6f93f76",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-05-11T06:43:40.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "8c6253c4cf3df76bc528af10c4480f29240e350db104dd3aff029a7e484af891",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-05-11T06:43:47.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "9c31dfd23aff9127bee053f7a9e875b2499e1012145377dd82c8ea887e058e71",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-05-11T06:43:11.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "caa58409283e15b138742547dc27d3d9ba2cdbfabb525cb4c812f0fd79d8275a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.2",
      "date": "2026-05-22T11:55:07.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "8c9e0213a79a0613fe6ea2ec689ab0e814d8267269c930c0e02ae2cc725ada2a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/25654415372"
    }
  ]
}