{
  "_id": "6a50b68389c83ec243a2febf",
  "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-07-10 09:05:06 UTC",
    "User": "root"
  },
  "Author": "Aaron Chafetz [aut, cre],\nTim Essam [aut],\nBaboyma Kagniniwa [aut]",
  "Maintainer": "Aaron Chafetz <achafetz@usaid.gov>",
  "_user": "usaid-oha-si",
  "_type": "src",
  "_file": "grabr_2.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/3ab1049de51f35bdbb57d219a5b707ed276754aabf934a62f02d5fd17d91cc67",
  "_filesize": 264878,
  "_sha256": "3ab1049de51f35bdbb57d219a5b707ed276754aabf934a62f02d5fd17d91cc67",
  "_expires": "2026-10-18T09:08:17.000Z",
  "_created": "2026-07-10T09:05:06.000Z",
  "_published": "2026-07-10T09:08:18.939Z",
  "_jobs": [
    {
      "job": 86326383115,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8223142462"
    },
    {
      "job": 86326383089,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8223142819"
    },
    {
      "job": 86326383094,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8223124690"
    },
    {
      "job": 86326383090,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8223134497"
    },
    {
      "job": 86325598532,
      "time": 259,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8223087056"
    },
    {
      "job": 86326383064,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8223133648"
    },
    {
      "job": 86326383123,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8223121832"
    },
    {
      "job": 86326383119,
      "time": 59,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8223109691"
    },
    {
      "job": 86326383153,
      "time": 79,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8223117272"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 49
  },
  "_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": 73,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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",
    "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.7664128471124,
  "_indexed": true,
  "_nocasepkg": "grabr",
  "_universes": [
    "usaid-oha-si",
    "achafetz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-07-10T09:07:39.000Z",
      "distro": "resolute",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "https://r2.ropensci.org/92bbd1461324b6663ac8472537e2b9e5bef2f3ae4677e198e9fd106c3d491690",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-07-10T09:07:39.000Z",
      "distro": "resolute",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "https://r2.ropensci.org/3726fd27ac8b8bf02f0d7fbfe10c14f144cca71277116e8ed18b19cb806c9b56",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.2",
      "date": "2026-07-10T09:06:50.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "https://r2.ropensci.org/eac94766df736407cc94d095a157f59f662a0b32725cbbaffac3b0e0f6774f29",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.2",
      "date": "2026-07-10T09:07:14.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "https://r2.ropensci.org/c89472914d47fe2b12a415726066808545a16b42eed793ef5ee009f721026cfe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.2",
      "date": "2026-07-10T09:07:29.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "https://r2.ropensci.org/e426e0ccc2faa922e0a5093f3884f6600f59d3ca86d61b0da8f3b6f0dd445433",
      "status": "success",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-07-10T09:06:32.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "https://r2.ropensci.org/9613ecf2b2f5ded570088c613f0ff3858e5060e1d30d0e9d8ed1eb7a7449b0b6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-07-10T09:06:08.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "https://r2.ropensci.org/799f3f0902fa0a82fef7ee93982cc430f2635a7516b7c14fd0050aa55b296cb8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-07-10T09:06:21.000Z",
      "commit": "483438770cc8e88ecd2e23fe16e13516b54ddb48",
      "fileid": "https://r2.ropensci.org/6a88da7e983601b998f7b80b92655d8be7a62fb8597f9a82532e30b32d4febed",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/29081620637"
    }
  ]
}