{
  "_id": "6a0f6a63acfb0bcc41c5e1d0",
  "Package": "metalite",
  "Title": "ADaM Metadata Structure",
  "Version": "0.1.4",
  "Authors@R": "c(\nperson(\"Yilong\", \"Zhang\", role = c(\"aut\")),\nperson(\"Yujie\", \"Zhao\", email = \"yujie.zhao@merck.com\", role = c(\"aut\", \"cre\")),\nperson(\"Nan\", \"Xiao\", role = c(\"aut\")),\nperson(\"Benjamin\", \"Wang\", role = c(\"ctb\")),\nperson(\"Brian\", \"Lang\", role = c(\"ctb\")),\nperson(\"Howard\", \"Baek\", role = c(\"ctb\")),\nperson(\"Ruchitbhai\", \"Patel\", role = c(\"ctb\")),\nperson(\"Madhusudhan\", \"Ginnaram\", role = c(\"ctb\")),\nperson(\"Sarad\", \"Nepal\", role = c(\"ctb\")),\nperson(\"Venkatesh\", \"Burla\", role = c(\"ctb\")),\nperson(\"Merck Sharp & Dohme Corp\", role = c(\"cph\"))\n)",
  "Description": "A metadata structure for clinical data analysis and\nreporting based on Analysis Data Model (ADaM) datasets. The\npackage simplifies clinical analysis and reporting tool\ndevelopment by defining standardized inputs, outputs, and\nworkflow. The package can be used to create analysis and\nreporting planning grid, mock table, and validated analysis and\nreporting results based on consistent inputs.",
  "License": "GPL-3",
  "URL": "https://merck.github.io/metalite/,\nhttps://github.com/Merck/metalite",
  "BugReports": "https://github.com/Merck/metalite/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://merck.r-universe.dev",
  "Date/Publication": "2025-09-17 13:12:42 UTC",
  "RemoteUrl": "https://github.com/merck/metalite",
  "RemoteRef": "HEAD",
  "RemoteSha": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 08:47:08 UTC",
    "User": "root"
  },
  "Author": "Yilong Zhang [aut],\nYujie Zhao [aut, cre],\nNan Xiao [aut],\nBenjamin Wang [ctb],\nBrian Lang [ctb],\nHoward Baek [ctb],\nRuchitbhai Patel [ctb],\nMadhusudhan Ginnaram [ctb],\nSarad Nepal [ctb],\nVenkatesh Burla [ctb],\nMerck Sharp & Dohme Corp [cph]",
  "Maintainer": "Yujie Zhao <yujie.zhao@merck.com>",
  "MD5sum": "2734620f2cf9a6e73c42c96b97926652",
  "_user": "merck",
  "_type": "src",
  "_file": "metalite_0.1.4.tar.gz",
  "_fileid": "3cc596a0679a780fab0d2737ead5010832114e3f62bb2c5939cc75ae8effc0ac",
  "_filesize": 511437,
  "_sha256": "3cc596a0679a780fab0d2737ead5010832114e3f62bb2c5939cc75ae8effc0ac",
  "_created": "2026-05-21T08:47:08.000Z",
  "_published": "2026-05-21T20:26:11.845Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77261892145,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131318147"
    },
    {
      "job": 77261891925,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131317948"
    },
    {
      "job": 77261895560,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131314570"
    },
    {
      "job": 77261891536,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131312813"
    },
    {
      "job": 77261891341,
      "time": 227,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131261128"
    },
    {
      "job": 77261891202,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146398273"
    },
    {
      "job": 77261891868,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131304539"
    },
    {
      "job": 77261891984,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131300671"
    },
    {
      "job": 77261891885,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131299961"
    }
  ],
  "_buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/merck/metalite",
  "_commit": {
    "id": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
    "author": "Yujie Zhao <43153957+LittleBeannie@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #176 from Merck/175-meta_split-split-metadata-only-by-variable-from-population\n\nupdate meta_split()",
    "time": 1758114762
  },
  "_maintainer": {
    "name": "Yujie Zhao",
    "email": "yujie.zhao@merck.com",
    "login": "littlebeannie",
    "description": "Statistician",
    "uuid": 43153957
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "r2rtf",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "merck",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "cdisc",
    "clinical-trials",
    "metadata"
  ],
  "_stars": 17,
  "_contributors": [
    {
      "user": "nanxstats",
      "count": 87,
      "uuid": 199363
    },
    {
      "user": "littlebeannie",
      "count": 83,
      "uuid": 43153957
    },
    {
      "user": "elong0527",
      "count": 78,
      "uuid": 465246
    },
    {
      "user": "wangben718",
      "count": 60,
      "uuid": 85646030
    },
    {
      "user": "fb-elong",
      "count": 31,
      "uuid": 104406613
    },
    {
      "user": "burlave",
      "count": 5,
      "uuid": 105807292
    },
    {
      "user": "brianlang",
      "count": 4,
      "uuid": 5337833
    },
    {
      "user": "ruchitpatel2002",
      "count": 1,
      "uuid": 49008776
    },
    {
      "user": "michaelturnbach",
      "count": 1,
      "uuid": 74424051
    },
    {
      "user": "wangchen46",
      "count": 1,
      "uuid": 164591259
    }
  ],
  "_userbio": {
    "uuid": 7306189,
    "type": "organization",
    "name": "Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., Inc.",
    "description": "This channel is only intended for U.S. and Canadian visitors."
  },
  "_downloads": {
    "count": 325,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/metalite"
  },
  "_devurl": "https://github.com/merck/metalite",
  "_pkgdown": "https://merck.github.io/metalite/",
  "_searchresults": 77,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/metalite.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/merck/metalite",
  "_realowner": "merck",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2023-02-08"
    },
    {
      "version": "0.1.2",
      "date": "2023-05-19"
    },
    {
      "version": "0.1.3",
      "date": "2023-08-10"
    },
    {
      "version": "0.1.4",
      "date": "2024-08-26"
    }
  ],
  "_exports": [
    "adam_mapping",
    "add_plan",
    "assign_label",
    "collect_adam_mapping",
    "collect_dataname",
    "collect_n_subject",
    "collect_observation_index",
    "collect_observation_record",
    "collect_population",
    "collect_population_id",
    "collect_population_index",
    "collect_population_record",
    "collect_title",
    "default_apply",
    "define_analysis",
    "define_observation",
    "define_parameter",
    "define_plan",
    "define_population",
    "get_label",
    "meta_adam",
    "meta_add_total",
    "meta_build",
    "meta_example",
    "meta_example_exploration",
    "meta_inherit",
    "meta_run",
    "meta_split",
    "n_subject",
    "outdata",
    "plan",
    "spec_analysis_population",
    "spec_call_program",
    "spec_filename",
    "spec_title",
    "update_adam_mapping"
  ],
  "_help": [
    {
      "page": "adam_mapping",
      "title": "Construct ADaM mappings",
      "topics": [
        "adam_mapping"
      ]
    },
    {
      "page": "add_plan",
      "title": "Add additional analysis plan",
      "topics": [
        "add_plan"
      ]
    },
    {
      "page": "assign_label",
      "title": "A function to assign labels to a data frame",
      "topics": [
        "assign_label"
      ]
    },
    {
      "page": "collect_adam_mapping",
      "title": "Collect 'adam_mapping' from 'meta_adam' by 'name'",
      "topics": [
        "collect_adam_mapping"
      ]
    },
    {
      "page": "collect_dataname",
      "title": "Collect specification for dataset name",
      "topics": [
        "collect_dataname"
      ]
    },
    {
      "page": "collect_n_subject",
      "title": "Collect number of subjects and its subset condition",
      "topics": [
        "collect_n_subject"
      ]
    },
    {
      "page": "collect_observation_index",
      "title": "Collect observation record index from observation dataset",
      "topics": [
        "collect_observation_index"
      ]
    },
    {
      "page": "collect_observation_record",
      "title": "Collect observation record from observation dataset",
      "topics": [
        "collect_observation_record"
      ]
    },
    {
      "page": "collect_population",
      "title": "Collect specification for population definition",
      "topics": [
        "collect_population"
      ]
    },
    {
      "page": "collect_population_id",
      "title": "Collect subject identifier information from population dataset",
      "topics": [
        "collect_population_id"
      ]
    },
    {
      "page": "collect_population_index",
      "title": "Collect population record index from population dataset",
      "topics": [
        "collect_population_index"
      ]
    },
    {
      "page": "collect_population_record",
      "title": "Collect population record from population dataset",
      "topics": [
        "collect_population_record"
      ]
    },
    {
      "page": "collect_title",
      "title": "Collect specification for title",
      "topics": [
        "collect_title"
      ]
    },
    {
      "page": "default_apply",
      "title": "Apply default values to ADaM mappings",
      "topics": [
        "default_apply"
      ]
    },
    {
      "page": "define_analysis",
      "title": "Define analysis function meta information for ADaM dataset",
      "topics": [
        "define_analysis"
      ]
    },
    {
      "page": "define_observation",
      "title": "Define analysis observation meta information for ADaM dataset",
      "topics": [
        "define_observation"
      ]
    },
    {
      "page": "define_parameter",
      "title": "Define analysis parameter meta information for ADaM dataset",
      "topics": [
        "define_parameter"
      ]
    },
    {
      "page": "define_plan",
      "title": "Define analysis plan meta information for ADaM dataset",
      "topics": [
        "define_plan"
      ]
    },
    {
      "page": "define_population",
      "title": "Define analysis population meta information for ADaM dataset",
      "topics": [
        "define_population"
      ]
    },
    {
      "page": "get_label",
      "title": "A function to get the labels of data frame columns",
      "topics": [
        "get_label"
      ]
    },
    {
      "page": "meta_adam",
      "title": "Create a metadata representation for ADaM data analysis",
      "topics": [
        "meta_adam"
      ]
    },
    {
      "page": "meta_add_total",
      "title": "Add duplicate data to enable a total group",
      "topics": [
        "meta_add_total"
      ]
    },
    {
      "page": "meta_build",
      "title": "Build complete meta information",
      "topics": [
        "meta_build"
      ]
    },
    {
      "page": "meta_example",
      "title": "Create an example 'meta_adam' object",
      "topics": [
        "meta_example"
      ]
    },
    {
      "page": "meta_example_exploration",
      "title": "Create a data exploration 'meta_adam' object",
      "topics": [
        "meta_example_exploration"
      ]
    },
    {
      "page": "meta_inherit",
      "title": "Inherit meta information by keywords",
      "topics": [
        "meta_inherit"
      ]
    },
    {
      "page": "meta_run",
      "title": "Execute analysis based on the analysis plan",
      "topics": [
        "meta_run"
      ]
    },
    {
      "page": "meta_split",
      "title": "Split metadata into groups",
      "topics": [
        "meta_split"
      ]
    },
    {
      "page": "n_subject",
      "title": "Count number of unique subjects",
      "topics": [
        "n_subject"
      ]
    },
    {
      "page": "outdata",
      "title": "Construct 'outdata' class",
      "topics": [
        "outdata"
      ]
    },
    {
      "page": "plan",
      "title": "Create a analysis plan from all combination of variables",
      "topics": [
        "plan"
      ]
    },
    {
      "page": "print.meta_adam",
      "title": "Print a metadata object with its population, observation, and analysis plans",
      "topics": [
        "print.meta_adam"
      ]
    },
    {
      "page": "spec_analysis_population",
      "title": "Specification for population definition",
      "topics": [
        "spec_analysis_population"
      ]
    },
    {
      "page": "spec_call_program",
      "title": "Specification for analysis call program",
      "topics": [
        "spec_call_program"
      ]
    },
    {
      "page": "spec_filename",
      "title": "Specification for analysis output filename",
      "topics": [
        "spec_filename"
      ]
    },
    {
      "page": "spec_title",
      "title": "Specification for analysis title",
      "topics": [
        "spec_title"
      ]
    },
    {
      "page": "update_adam_mapping",
      "title": "Update mapping rule in 'adam_mapping'",
      "topics": [
        "update_adam_mapping"
      ]
    }
  ],
  "_pkglogo": "https://github.com/merck/metalite/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/merck/metalite/raw/HEAD/README.md",
  "_rundeps": [
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "component.Rmd",
      "filename": "component.html",
      "title": "Collect Components",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Collect ADaM mapping",
        "Collect population",
        "Collect population records",
        "Collect observation record",
        "Collect specifications"
      ],
      "created": "2022-04-17 02:53:17",
      "modified": "2023-02-02 19:23:44",
      "commits": 3
    },
    {
      "source": "ar-grid.Rmd",
      "filename": "ar-grid.html",
      "title": "Create AR Grid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Build metadata",
        "Step 1: input the population and observation datasets",
        "Step 2: create statistical analysis plans",
        "Step 3: feed in the analysis plan to the existing metadata",
        "Step 4: define the key words in the above metadata",
        "Step 4.1: define the key words in population & observation",
        "Step 4.2 define the key words in the analysis plans",
        "Step 5: build the metadata",
        "Create A&R grid"
      ],
      "created": "2022-08-15 16:55:27",
      "modified": "2023-02-02 07:15:55",
      "commits": 3
    },
    {
      "source": "mockup-table.Rmd",
      "filename": "mockup-table.html",
      "title": "Create Mockup Table Based on Metadata",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview of the example we used",
        "Prepare the metadata",
        "Step 1: Define the metadata",
        "Step 2: Define the analysis plan",
        "Step 3: Define the keywords",
        "Step 4: Build and review the metadata",
        "Add components of mockup table",
        "Create functions",
        "Row label",
        "Get treatment grouping order",
        "Get the title/endnotes of TLF",
        "Logic to create mockup table",
        "Display the generated mockup tables"
      ],
      "created": "2022-08-16 19:40:43",
      "modified": "2023-02-02 07:15:55",
      "commits": 4
    },
    {
      "source": "metalite.Rmd",
      "filename": "metalite.html",
      "title": "Introduction to metalite",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Use cases",
        "Mental model",
        "Example: adverse events analysis"
      ],
      "created": "2022-04-14 17:24:59",
      "modified": "2023-02-02 19:23:44",
      "commits": 8
    },
    {
      "source": "adam-mapping.Rmd",
      "filename": "adam-mapping.html",
      "title": "Introduction to Variable Mapping",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Example 1: All Participants as Treated (apat)",
        "Base R",
        "Tidy evaluation",
        "Example 2: Serious adverse events (ser)"
      ],
      "created": "2022-04-14 17:24:59",
      "modified": "2023-02-02 07:15:55",
      "commits": 4
    }
  ],
  "_score": 8.946243419381782,
  "_indexed": true,
  "_nocasepkg": "metalite",
  "_universes": [
    "merck",
    "littlebeannie"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-05-21T08:49:37.000Z",
      "distro": "noble",
      "commit": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
      "fileid": "344a50f4df6f07cdb69afe7eac73181f187a466396fc316df9ac493b6ba7c842",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-05-21T08:49:36.000Z",
      "distro": "noble",
      "commit": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
      "fileid": "4d1d21867d408d0cc80862ec7c9ff5f979c31beda93f5db3f8f40a4d98a6a03d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-05-21T08:49:27.000Z",
      "commit": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
      "fileid": "413fa38f4ace8f32ac14b58abb8eccdcf4a981501852548179569f3892643929",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-05-21T08:49:17.000Z",
      "commit": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
      "fileid": "30c2b2e357b0943d047e9743a6d18aed293b4b9da7c5c0d12124102be01dd25c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-05-21T20:25:49.000Z",
      "commit": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
      "fileid": "f6dfd865d97a30937b4c679270e1d372a9a20ea13eca02c53c3ef529f75b1193",
      "status": "success",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-21T08:48:47.000Z",
      "commit": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
      "fileid": "8d1c6c1e95e401d883fe175a2ada73c42d22a7e831cdaa375e40c5a25463ab7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-21T08:48:37.000Z",
      "commit": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
      "fileid": "acaa823e5cf07da2197ea2c736077f7db23e310ad81a84f6c82ac1e442613f37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-21T08:48:37.000Z",
      "commit": "85757ba1bf5d863971e142b7872b6f92c265d6ef",
      "fileid": "780a5276592f43a5504ec47b6a6339bc25981a04493e132a060de3034f1ff9e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26215426612"
    }
  ]
}