{
  "_id": "6a156a06acfb0bcc41d62d02",
  "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-05-26 09:34:59 UTC",
    "User": "root"
  },
  "Author": "Aaron Chafetz [aut, cre],\nBaboyma Kagniniwa [aut]",
  "Maintainer": "Aaron Chafetz <achafetz@usaid.gov>",
  "MD5sum": "e25e4ce93b0f43c34c337b11d99b1a9f",
  "_user": "usaid-oha-si",
  "_type": "src",
  "_file": "gophr_4.1.6.tar.gz",
  "_fileid": "ec23e2387fa1f33a6f4deecfd70b479dba8cc28c0721697e7c23555ebc8c82b4",
  "_filesize": 230213,
  "_sha256": "ec23e2387fa1f33a6f4deecfd70b479dba8cc28c0721697e7c23555ebc8c82b4",
  "_created": "2026-05-26T09:34:59.000Z",
  "_published": "2026-05-26T09:38:14.425Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77846907347,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7213698660"
    },
    {
      "job": 77846907377,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7213698412"
    },
    {
      "job": 77846907342,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7213695874"
    },
    {
      "job": 77846907307,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7213689712"
    },
    {
      "job": 77846331837,
      "time": 210,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213649353"
    },
    {
      "job": 77846907295,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213694096"
    },
    {
      "job": 77846907344,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7213687461"
    },
    {
      "job": 77846907318,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7213683515"
    },
    {
      "job": 77846907368,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7213682087"
    }
  ],
  "_buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_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": 192,
  "_rbuild": "4.6.0",
  "_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",
    "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",
    "gh",
    "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.158362492095249,
  "_indexed": true,
  "_nocasepkg": "gophr",
  "_universes": [
    "usaid-oha-si",
    "achafetz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.1.6",
      "date": "2026-05-26T09:37:15.000Z",
      "distro": "noble",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "a4498a8c3911a3a34d1007a3e3678c53cef06bc6364eb644393a063491bdfea9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.1.6",
      "date": "2026-05-26T09:37:16.000Z",
      "distro": "noble",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "4c7bb80ad4c13291bca9f093effa436e2359054695b8da2823a56ff12a620fa8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.1.6",
      "date": "2026-05-26T09:37:14.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "edc179f541da66d7be75a633455aca174b9f4504adca8277855e5f4626b84768",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "4.1.6",
      "date": "2026-05-26T09:36:52.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "86e1e7c5673c0f0c1ef378b018d2a85886ccdc7c640f0469ff90b0d4038af4fb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.1.6",
      "date": "2026-05-26T09:37:23.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "8d8cb87aede34463c286afaa31765823a33e784d7f9595040c986e3292e19261",
      "status": "success",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-05-26T09:36:37.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "e19cfce35e91e2fd40430ba1c344ccc94daef80980ff108c1be16b7ec38de0ab",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-05-26T09:36:26.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "55d1e99a2aaea1ec05e90ac91809a5a2d08e77f25b1105bd9f4da3dcd31b7a0e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "4.1.6",
      "date": "2026-05-26T09:36:18.000Z",
      "commit": "5bdb0ca3e9ae44d4923f0bbbf19705e4bc134e4d",
      "fileid": "e50612afc95698673da8e27127ed03b6889231f74fafaf115afd96a7e65050ef",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/usaid-oha-si/actions/runs/26444237424"
    }
  ]
}