{
  "_id": "6a482750e06c18f0a652e865",
  "Package": "gophr",
  "Title": "Utility functions related to working with the MER Structured\nDataset",
  "Version": "4.1.6",
  "Authors@R": "c(\nperson(\"Aaron\", \"Chafetz\", ,\"achafetz@usaid.gov\", c(\"aut\", \"cre\")),\nperson(\"Baboyma\", \"Kagniniwa\", , \"bkagniniwa@usaid.gov\", c(\"aut\"))\n)",
  "Description": "This packages contains a number of functions for working\nwith the PEPFAR MSD.",
  "License": "MIT + file LICENSE",
  "Remotes": [
    "USAID-OHA-SI/glamr",
    "USAID-OHA-SI/gagglr",
    "USAID-OHA-SI/grabr"
  ],
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "URL": "https://usaid-oha-si.github.io/gophr/",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake git make libgit2-dev libicu-dev libuv1-dev\nlibssl-dev libx11-dev",
  "Repository": "https://usaid-oha-si.r-universe.dev",
  "Date/Publication": "2024-11-14 16:35:29 UTC",
  "RemoteUrl": "https://github.com/USAID-OHA-SI/gophr",
  "RemoteRef": "HEAD",
  "RemoteSha": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 21:16:02 UTC",
    "User": "root"
  },
  "Author": "Aaron Chafetz [aut, cre],\nBaboyma Kagniniwa [aut]",
  "Maintainer": "Aaron Chafetz <achafetz@usaid.gov>",
  "_user": "usaid-oha-si",
  "_type": "src",
  "_file": "gophr_4.1.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/68ca705eb3b6a14524bce6eb164aa0a39534cf58d92dd5447d1bb4ebde06b499",
  "_filesize": 231333,
  "_sha256": "68ca705eb3b6a14524bce6eb164aa0a39534cf58d92dd5447d1bb4ebde06b499",
  "_expires": "2026-10-11T21:19:10.000Z",
  "_created": "2026-07-03T21:16:02.000Z",
  "_published": "2026-07-03T21:19:12.425Z",
  "_jobs": [
    {
      "job": 85072250429,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8074893827"
    },
    {
      "job": 85072250409,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8074896466"
    },
    {
      "job": 85072250406,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8074891172"
    },
    {
      "job": 85072250424,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8074889718"
    },
    {
      "job": 85071864610,
      "time": 229,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8074869335"
    },
    {
      "job": 85072250482,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8074892145"
    },
    {
      "job": 85072250448,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8074885274"
    },
    {
      "job": 85072250441,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8074883391"
    },
    {
      "job": 85072250452,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8074886998"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975",
  "_status": "success",
  "_upstream": "https://github.com/USAID-OHA-SI/gophr",
  "_commit": {
    "id": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
    "author": "Aaron Chafetz <achafetz@usaid.gov>",
    "committer": "GitHub <noreply@github.com>",
    "message": "doc: version up",
    "time": 1731602129
  },
  "_maintainer": {
    "name": "Aaron Chafetz",
    "email": "achafetz@usaid.gov",
    "login": "achafetz",
    "uuid": 8933069
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "getPass",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "googlesheets4",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "usethis",
      "role": "Imports"
    },
    {
      "package": "vroom",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "arrow",
      "role": "Suggests"
    },
    {
      "package": "aws.s3",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "usaid-oha-si",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "achafetz",
      "count": 507,
      "uuid": 8933069
    },
    {
      "user": "wvp3",
      "count": 7,
      "uuid": 23505255
    },
    {
      "user": "jason-p-pickering",
      "count": 4,
      "uuid": 2968061
    },
    {
      "user": "tessam30",
      "count": 2,
      "uuid": 5873344
    },
    {
      "user": "baboyma",
      "count": 1,
      "uuid": 3952707
    },
    {
      "user": "jacksonsj",
      "count": 1,
      "uuid": 31488407
    }
  ],
  "_userbio": {
    "uuid": 24459861,
    "type": "organization",
    "name": "USAID OHA SI",
    "followers": 49
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gophr"
  },
  "_devurl": "https://github.com/usaid-oha-si/gophr",
  "_pkgdown": "https://usaid-oha-si.github.io/gophr/",
  "_searchresults": 213,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gophr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "adorn_achievement",
    "apply_funding_type",
    "apply_partner_type",
    "browse_knownissues",
    "calc_achievement",
    "clean_agency",
    "clean_column",
    "clean_indicator",
    "clean_psnu",
    "get_metadata",
    "identify_psd",
    "identifypd",
    "pluck_totals",
    "read_msd",
    "read_psd",
    "remove_centralsupport",
    "remove_mo",
    "remove_sch",
    "rename_official",
    "reshape_msd",
    "resolve_knownissues",
    "source_info",
    "split_save"
  ],
  "_datasets": [
    {
      "name": "achv_color_map",
      "title": "OHA Achievement Colors",
      "object": "achv_color_map",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "achv_desc",
        "achv_color",
        "achv_color_classic"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "cascade_ind",
      "title": "MER Clinical Cascade indicators",
      "object": "cascade_ind",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "snapshot_ind",
      "title": "MER Snapshot indicators",
      "object": "snapshot_ind",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "achv_color_map",
      "title": "OHA Achievement Colors",
      "topics": [
        "achv_color_map"
      ]
    },
    {
      "page": "adorn_achievement",
      "title": "Adorn Achievement - Percent and Color",
      "concept": [
        "achievement"
      ],
      "topics": [
        "adorn_achievement"
      ]
    },
    {
      "page": "apply_funding_type",
      "title": "Apply Funding Type",
      "topics": [
        "apply_funding_type"
      ]
    },
    {
      "page": "apply_partner_type",
      "title": "Apply partner type (local/international)",
      "topics": [
        "apply_partner_type"
      ]
    },
    {
      "page": "browse_knownissues",
      "title": "Browse Known Issues",
      "topics": [
        "browse_knownissues"
      ]
    },
    {
      "page": "calc_achievement",
      "title": "Calculate Achievement",
      "concept": [
        "achievement"
      ],
      "topics": [
        "calc_achievement"
      ]
    },
    {
      "page": "cascade_ind",
      "title": "MER Clinical Cascade indicators",
      "topics": [
        "cascade_ind"
      ]
    },
    {
      "page": "clean_agency",
      "title": "Clean data from funding agency column",
      "concept": [
        "column munging"
      ],
      "topics": [
        "clean_agency"
      ]
    },
    {
      "page": "clean_column",
      "title": "Clean column data",
      "concept": [
        "column munging"
      ],
      "topics": [
        "clean_column"
      ]
    },
    {
      "page": "clean_indicator",
      "title": "Clean indicators (apply _D suffix)",
      "concept": [
        "column munging"
      ],
      "topics": [
        "clean_indicator"
      ]
    },
    {
      "page": "clean_psnu",
      "title": "Clean PSNU column data",
      "concept": [
        "column munging"
      ],
      "topics": [
        "clean_psnu"
      ]
    },
    {
      "page": "get_metadata",
      "title": "Extract MSD Meta Data",
      "concept": [
        "metadata"
      ],
      "topics": [
        "get_metadata"
      ]
    },
    {
      "page": "identify_psd",
      "title": "Identify PSD Data Stream and Level",
      "topics": [
        "identify_psd"
      ]
    },
    {
      "page": "identifypd",
      "title": "Extract Current Reporting Period",
      "topics": [
        "identifypd"
      ]
    },
    {
      "page": "pluck_totals",
      "title": "Filter for Only Totals in MSD",
      "topics": [
        "pluck_totals"
      ]
    },
    {
      "page": "read_msd",
      "title": "Import PEPFAR Structured Datasets .txt into R and covert to .rds",
      "topics": [
        "read_msd"
      ]
    },
    {
      "page": "read_psd",
      "title": "Import PEPFAR Structured Datasets to R",
      "topics": [
        "read_psd"
      ]
    },
    {
      "page": "remove_centralsupport",
      "title": "Remove Central Support Reporting",
      "topics": [
        "remove_centralsupport"
      ]
    },
    {
      "page": "remove_mo",
      "title": "Remove M&O funding",
      "topics": [
        "remove_mo"
      ]
    },
    {
      "page": "remove_sch",
      "title": "Remove Supply Chain Funding",
      "topics": [
        "remove_sch"
      ]
    },
    {
      "page": "rename_official",
      "title": "Apply the latest mechanism and partner names from DATIM",
      "topics": [
        "rename_official"
      ]
    },
    {
      "page": "reshape_msd",
      "title": "Reshape MSD",
      "topics": [
        "reshape_msd"
      ]
    },
    {
      "page": "resolve_knownissues",
      "title": "Resolve Known Issues",
      "topics": [
        "resolve_knownissues"
      ]
    },
    {
      "page": "snapshot_ind",
      "title": "MER Snapshot indicators",
      "topics": [
        "snapshot_ind"
      ]
    },
    {
      "page": "source_info",
      "title": "Extract MSD Source Information",
      "concept": [
        "metadata"
      ],
      "topics": [
        "source_info"
      ]
    },
    {
      "page": "split_save",
      "title": "Export a single dataset into multiple files by group",
      "topics": [
        "split_save"
      ]
    }
  ],
  "_pkglogo": "https://github.com/USAID-OHA-SI/gophr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/USAID-OHA-SI/gophr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "cellranger",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "credentials",
    "curl",
    "desc",
    "dplyr",
    "fs",
    "gargle",
    "generics",
    "gert",
    "getPass",
    "gitcreds",
    "glue",
    "googledrive",
    "googlesheets4",
    "hms",
    "httr",
    "httr2",
    "ids",
    "ini",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rappdirs",
    "readr",
    "rematch",
    "rematch2",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "usethis",
    "utf8",
    "uuid",
    "vctrs",
    "vroom",
    "whisker",
    "withr",
    "yaml",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "reading-on-pdap.Rmd",
      "filename": "reading-on-pdap.html",
      "title": "Reading in a PSD on PEPFAR Posit Workbench",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Install necessary packages",
        "How does this work",
        "Enter OHA functions",
        "Standard Workflow Snippet"
      ],
      "created": "2024-04-16 13:00:34",
      "modified": "2024-04-16 13:00:34",
      "commits": 1
    }
  ],
  "_score": 5.203440866830437,
  "_indexed": true,
  "_nocasepkg": "gophr",
  "_universes": [
    "usaid-oha-si",
    "achafetz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.1.6",
      "date": "2026-07-03T21:18:12.000Z",
      "distro": "resolute",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/9c062ffedcfc9a16ab7193e2af769e5e891365e3e92b440797271cea544959f6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "4.1.6",
      "date": "2026-07-03T21:18:27.000Z",
      "distro": "resolute",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/9495e2cdf56ea19f4b81c79c43ace3691bd09988dd037b31c3aa08564cc33faa",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.1.6",
      "date": "2026-07-03T21:18:01.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/d861f2c56dc3a1a6a4f916d4f309c6c1b5a3a24705f2abedab8eaca7bc6bc45b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "4.1.6",
      "date": "2026-07-03T21:17:50.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/c4d526553b6be2a36c9caa6a43a13c2b009da9bb7fef535fbba44e97e68dd4ff",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.1.6",
      "date": "2026-07-03T21:18:23.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/4f0c29ea3c723d813ca967b475975d0a54f736c1c6a8df5e6584bb0d8011e029",
      "status": "success",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-07-03T21:17:18.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/544e184200c88e70ecdfbf4bd356fda1ced06d3ee3df6496f1e295d979a1f130",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-07-03T21:17:08.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/9d606f26ec0103519d1454330d65a4869cb79c1f4064ee3966f13e1a55ac6861",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-07-03T21:17:27.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/0aef3cdae7e181b17d3faad8b6d897154aa67dcbf194566e6d66daf0858d162b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/28683573975"
    }
  ]
}