{
  "_id": "6abe362a99f7aa8c6aa53ca5",
  "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-10-01 10:25:39 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/9cc3450c27aaa1f07e8494c234a8299793ffbca8e34fcea6b4c51dc729b87c52",
  "_filesize": 233569,
  "_sha256": "9cc3450c27aaa1f07e8494c234a8299793ffbca8e34fcea6b4c51dc729b87c52",
  "_expires": "2027-01-09T10:30:00.000Z",
  "_created": "2026-10-01T10:25:39.000Z",
  "_published": "2026-10-01T10:30:02.331Z",
  "_jobs": [
    {
      "job": 110326237785,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11153919702"
    },
    {
      "job": 110326237729,
      "time": 225,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11154529650"
    },
    {
      "job": 110326237672,
      "time": 195,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11154144252"
    },
    {
      "job": 110326237705,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11154961982"
    },
    {
      "job": 110324817554,
      "time": 251,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11153739748"
    },
    {
      "job": 110326237558,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11154329639"
    },
    {
      "job": 110326237639,
      "time": 66,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11153934493"
    },
    {
      "job": 110326237675,
      "time": 92,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11155040758"
    },
    {
      "job": 110326237801,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11154288368"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825",
  "_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",
    "description": "Formerly at USAID @USAID-OHA-SI",
    "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": 48
  },
  "_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": 210,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gophr.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "pak",
    "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.19728055812562,
  "_indexed": true,
  "_nocasepkg": "gophr",
  "_universes": [
    "usaid-oha-si",
    "achafetz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.1.6",
      "date": "2026-10-01T10:28:29.000Z",
      "distro": "resolute",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/ac467ccc4d11ab01eb47e36d6393e9781354560bba980f73e6d6c67e12fe078d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "4.1.6",
      "date": "2026-10-01T10:29:21.000Z",
      "distro": "resolute",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/1f29d6b6f6afc44fbbc3a2b0ecd9bdfa784a14638d77297283aede5e0f4446d4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.1.6",
      "date": "2026-10-01T10:28:11.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/627ee707687165ce851cc5b42f3637d50a6813394c8f639e9fd4abfab1048c57",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "4.1.6",
      "date": "2026-10-01T10:28:00.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/3b9dba7112d8397778de133a80ac95b89c7f700764a18184080c1432950341fe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.1.6",
      "date": "2026-10-01T10:28:16.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/1742abc1fba0ac1843771bf2118801904e8691b77aca75e9ce24824cdaa20ed2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-10-01T10:26:40.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/6454872b080d6dd69fd02bf1afc0a05a102f0ca2929b853c0df7bb0ddddc8499",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-10-01T10:27:08.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/cf5b9d7cf963df6a956902dd9fa03d57cdba722567127659873db66170b57350",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-10-01T10:26:52.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "https://r2.ropensci.org/b960df2e4c08fc568c4587392fdd416a547add355abc237ceb9b3185c5f4e440",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/36848623825"
    }
  ]
}