{
  "_id": "6a17db16acfb0bcc41d9bab9",
  "Type": "Package",
  "Package": "metatools",
  "Title": "Enable the Use of 'metacore' to Help Create and Check Dataset",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(\"Liam\", \"Hobby\", , \"liam.f.hobby@gsk.com\", role = c(\"aut\", \"cre\")),\nperson(\"Christina\", \"Fillmore\", , \"christina.e.fillmore@gsk.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-0595-2302\")),\nperson(\"Bill\", \"Denney\", role = \"aut\"),\nperson(\"Mike\", \"Stackhouse\", , \"mike.stackhouse@atorusresearch.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-6030-723X\")),\nperson(\"Jana\", \"Stoilova\", , \"jana.stoilova@roche.com\", role = \"aut\"),\nperson(\"Tamara\", \"Senior\", , \"tamara.senior@roche.com\", role = \"aut\"),\nperson(\"GlaxoSmithKline LLC\", role = c(\"cph\", \"fnd\")),\nperson(\"F. Hoffmann-La Roche AG\", role = c(\"cph\", \"fnd\")),\nperson(\"Atorus Research LLC\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Uses the metadata information stored in 'metacore' objects\nto check and build metadata associated columns.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/pharmaverse/metatools,\nhttps://pharmaverse.github.io/metatools/",
  "BugReports": "https://github.com/pharmaverse/metatools/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://pharmaverse.r-universe.dev",
  "Date/Publication": "2026-04-28 10:42:58 UTC",
  "RemoteUrl": "https://github.com/pharmaverse/metatools",
  "RemoteRef": "HEAD",
  "RemoteSha": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 06:01:45 UTC",
    "User": "root"
  },
  "Author": "Liam Hobby [aut, cre],\nChristina Fillmore [aut] (ORCID:\n<https://orcid.org/0000-0003-0595-2302>),\nBill Denney [aut],\nMike Stackhouse [aut] (ORCID: <https://orcid.org/0000-0001-6030-723X>),\nJana Stoilova [aut],\nTamara Senior [aut],\nGlaxoSmithKline LLC [cph, fnd],\nF. Hoffmann-La Roche AG [cph, fnd],\nAtorus Research LLC [cph, fnd]",
  "Maintainer": "Liam Hobby <liam.f.hobby@gsk.com>",
  "MD5sum": "e5ca1bc6ff59a7a4c7c20c6e86de51b4",
  "_user": "pharmaverse",
  "_type": "src",
  "_file": "metatools_0.3.0.tar.gz",
  "_fileid": "d07aed41f2db52a575235a006e85f4745028d035803dfb03f9b6faa15708df31",
  "_filesize": 388731,
  "_sha256": "d07aed41f2db52a575235a006e85f4745028d035803dfb03f9b6faa15708df31",
  "_created": "2026-05-28T06:01:45.000Z",
  "_published": "2026-05-28T06:05:10.438Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78233074078,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7258809332"
    },
    {
      "job": 78233073984,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7258809957"
    },
    {
      "job": 78233073979,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7258802748"
    },
    {
      "job": 78233073992,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7258813156"
    },
    {
      "job": 78232734098,
      "time": 179,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258775398"
    },
    {
      "job": 78233073995,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258799856"
    },
    {
      "job": 78233074005,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7258800061"
    },
    {
      "job": 78233074000,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7258797517"
    },
    {
      "job": 78233073999,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7258796263"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pharmaverse/metatools",
  "_commit": {
    "id": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
    "author": "Liam Hobby <102362579+LiamHobby@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #136 from pharmaverse/supp-messaging\n\nEnhance user experience and package feedback for various functions in R/supp and R/checks",
    "time": 1777372978
  },
  "_maintainer": {
    "name": "Liam Hobby",
    "email": "liam.f.hobby@gsk.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "metacore",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "pharmaversesdtm",
      "role": "Suggests"
    },
    {
      "package": "safetyData",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "pharmaverse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 12
    },
    {
      "week": "2025-29",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 5
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2025-07-15"
    },
    {
      "name": "0.3.0",
      "date": "2026-04-28"
    }
  ],
  "_stars": 22,
  "_contributors": [
    {
      "user": "statasaurus",
      "count": 170,
      "uuid": 55274484
    },
    {
      "user": "jeffreyad",
      "count": 42,
      "uuid": 112705781
    },
    {
      "user": "liamhobby",
      "count": 40,
      "uuid": 102362579
    },
    {
      "user": "mattbearham",
      "count": 15,
      "uuid": 79635317
    },
    {
      "user": "billdenney",
      "count": 13,
      "uuid": 10359931
    },
    {
      "user": "mstackhouse",
      "count": 11,
      "uuid": 31387567
    },
    {
      "user": "anajens",
      "count": 9,
      "uuid": 43623360
    },
    {
      "user": "sadchla-codes",
      "count": 3,
      "uuid": 112789549
    },
    {
      "user": "bms63",
      "count": 2,
      "uuid": 10111024
    },
    {
      "user": "jonocarroll",
      "count": 2,
      "uuid": 9496865
    },
    {
      "user": "seniort",
      "count": 1,
      "uuid": 51999139
    },
    {
      "user": "copilot",
      "count": 1,
      "uuid": 198982749
    },
    {
      "user": "jimrothstein",
      "count": 1,
      "uuid": 8131839
    },
    {
      "user": "ankonyeni",
      "count": 1,
      "uuid": 61804770
    }
  ],
  "_userbio": {
    "uuid": 84541169,
    "type": "organization",
    "name": "pharmaverse"
  },
  "_downloads": {
    "count": 1379,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/metatools"
  },
  "_devurl": "https://github.com/pharmaverse/metatools",
  "_pkgdown": "https://pharmaverse.github.io/metatools/",
  "_searchresults": 196,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/metatools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pharmaverse/metatools",
  "_realowner": "pharmaverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2022-04-20"
    },
    {
      "version": "0.1.3",
      "date": "2022-10-06"
    },
    {
      "version": "0.1.4",
      "date": "2023-02-13"
    },
    {
      "version": "0.1.5",
      "date": "2023-03-13"
    },
    {
      "version": "0.1.6",
      "date": "2024-07-23"
    },
    {
      "version": "0.2.0",
      "date": "2025-07-16"
    },
    {
      "version": "0.3.0",
      "date": "2026-04-28"
    }
  ],
  "_exports": [
    "%>%",
    "add_labels",
    "add_variables",
    "build_from_derived",
    "build_qnam",
    "check_ct_col",
    "check_ct_data",
    "check_unique_keys",
    "check_variables",
    "combine_supp",
    "convert_var_to_fct",
    "create_cat_var",
    "create_subgrps",
    "create_var_from_codelist",
    "drop_unspec_vars",
    "get_bad_ct",
    "make_supp_qual",
    "metatools_example",
    "order_cols",
    "remove_labels",
    "set_variable_labels",
    "sort_by_key"
  ],
  "_help": [
    {
      "page": "add_labels",
      "title": "Apply labels to multiple variables on a data frame",
      "topics": [
        "add_labels"
      ]
    },
    {
      "page": "add_variables",
      "title": "Add Missing Variables",
      "topics": [
        "add_variables"
      ]
    },
    {
      "page": "build_from_derived",
      "title": "Build a dataset from derived",
      "topics": [
        "build_from_derived"
      ]
    },
    {
      "page": "build_qnam",
      "title": "Build the observations for a single QNAM",
      "topics": [
        "build_qnam"
      ]
    },
    {
      "page": "check_ct_col",
      "title": "Check Control Terminology for a Single Column",
      "topics": [
        "check_ct_col"
      ]
    },
    {
      "page": "check_ct_data",
      "title": "Check Control Terminology for a Dataset",
      "topics": [
        "check_ct_data"
      ]
    },
    {
      "page": "check_unique_keys",
      "title": "Check Uniqueness of Records by Key",
      "topics": [
        "check_unique_keys"
      ]
    },
    {
      "page": "check_variables",
      "title": "Check Variable Names",
      "topics": [
        "check_variables"
      ]
    },
    {
      "page": "combine_supp",
      "title": "Combine the Domain and Supplemental Qualifier",
      "topics": [
        "combine_supp"
      ]
    },
    {
      "page": "convert_var_to_fct",
      "title": "Convert Variable to Factor with Levels Set by Control Terms",
      "topics": [
        "convert_var_to_fct"
      ]
    },
    {
      "page": "create_cat_var",
      "title": "Create Categorical Variable from Codelist",
      "topics": [
        "create_cat_var"
      ]
    },
    {
      "page": "create_subgrps",
      "title": "Create Subgroups",
      "topics": [
        "create_subgrps"
      ]
    },
    {
      "page": "create_var_from_codelist",
      "title": "Create Variable from Codelist",
      "topics": [
        "create_var_from_codelist"
      ]
    },
    {
      "page": "drop_unspec_vars",
      "title": "Drop Unspecified Variables",
      "topics": [
        "drop_unspec_vars"
      ]
    },
    {
      "page": "get_bad_ct",
      "title": "Gets vector of control terminology which should be there",
      "topics": [
        "get_bad_ct"
      ]
    },
    {
      "page": "make_supp_qual",
      "title": "Make Supplemental Qualifier",
      "topics": [
        "make_supp_qual"
      ]
    },
    {
      "page": "metatools_example",
      "title": "Get path to pkg example",
      "topics": [
        "metatools_example"
      ]
    },
    {
      "page": "order_cols",
      "title": "Sort Columns by Order",
      "topics": [
        "order_cols"
      ]
    },
    {
      "page": "remove_labels",
      "title": "Remove labels to multiple variables on a data frame",
      "topics": [
        "remove_labels"
      ]
    },
    {
      "page": "set_variable_labels",
      "title": "Apply labels to a data frame using a metacore object",
      "topics": [
        "set_variable_labels"
      ]
    },
    {
      "page": "sort_by_key",
      "title": "Sort Rows by Key Sequence",
      "topics": [
        "sort_by_key"
      ]
    }
  ],
  "_readme": "https://github.com/pharmaverse/metatools/raw/HEAD/README.md",
  "_rundeps": [
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "metacore",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readxl",
    "rematch",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_score": 7.541398884436712,
  "_indexed": true,
  "_nocasepkg": "metatools",
  "_universes": [
    "pharmaverse"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-28T06:04:04.000Z",
      "distro": "noble",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "289dbfb0e1b651cd6ab0dab74be281d3f78e9379cf6ff2fbd05eb94da6fbb004",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-28T06:04:08.000Z",
      "distro": "noble",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "bc5a165681fb0ad2364fd703df8b7cf82c88576dd146969d48064f6479085806",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-28T06:03:45.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "39add5528bfea5254c3ecb79569c42c7be3c126e24622a495661c3dea9100ee4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-28T06:04:33.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "a227f71a9debdd245cc9dd0287161ced90f8b4ad190e4e05328d4b7ee365234a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-05-28T06:03:54.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "7434d2f5bc72c8528c1dcf94d89d67eaee41f4191ad6508ceaf29067bff368ee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-28T06:03:13.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "8c57ea70e66625305a9c3b1f254aec9cadc01171ceddef09e65ea82982b7ff43",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-28T06:03:04.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "916b7c2a0e62d866fb89c560071167b4c30a42d34a9781a58cdaa58573f2f05e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-28T06:02:58.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "c04def86ffc61a51c2d424fc481754748cb6fa36ac5b4313f87c43c72c979419",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26557612019"
    }
  ]
}