{
  "_id": "6a60748014e95619b75d9d95",
  "Package": "rwevalidate",
  "Title": "Validate Patient Cohorts for Real-World Evidence Studies on the\nOMOP Common Data Model",
  "Version": "0.1.2",
  "Authors@R": "person(\"Hamid\", \"Tavakoli\", email = \"htavakoli@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Validates instantiated patient cohorts on an Observational\nMedical Outcomes Partnership (OMOP) Common Data Model (CDM)\ndatabase for real-world-evidence (RWE) studies. From a single\nfunction call it produces a structured validation report in\nHypertext Markup Language (HTML) and JavaScript Object Notation\n(JSON) covering concept coverage, cohort attrition, temporal\ndata density, and covariate feasibility against a comparator.\nThe checks are aligned with the United States Food and Drug\nAdministration (FDA) guidance on real-world data and evidence,\nFDA (2023) <https://www.fda.gov/media/171667/download>, the\nHarmonized Protocol Template to Enhance Reproducibility\n(HARPER), Wang and others (2022) <doi:10.1002/pds.5507>, and\nthe Reporting of Studies Conducted Using Observational\nRoutinely-Collected Data for Pharmacoepidemiology (RECORD-PE)\nstatement, Langan and others (2018) <doi:10.1136/bmj.k3532>. A\nself-contained example database is bundled so the checks can be\nrun without a live database connection.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/tavakohr/rwevalidate",
  "BugReports": "https://github.com/tavakohr/rwevalidate/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libuv1-dev libpq-dev",
  "Repository": "https://tavakohr.r-universe.dev",
  "Date/Publication": "2026-07-11 17:22:43 UTC",
  "RemoteUrl": "https://github.com/tavakohr/rwevalidate",
  "RemoteRef": "HEAD",
  "RemoteSha": "80010f8512b6136b639b18d89f61bda74f77a8bc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-22 07:38:54 UTC",
    "User": "root"
  },
  "Author": "Hamid Tavakoli [aut, cre]",
  "Maintainer": "Hamid Tavakoli <htavakoli@gmail.com>",
  "_user": "tavakohr",
  "_type": "src",
  "_file": "rwevalidate_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/1db7a6682c80decb56a99666ec3f331029f5ae873669308aa6a0a15bdaf097a0",
  "_filesize": 239398,
  "_sha256": "1db7a6682c80decb56a99666ec3f331029f5ae873669308aa6a0a15bdaf097a0",
  "_expires": "2026-10-30T07:42:54.000Z",
  "_created": "2026-07-22T07:38:54.000Z",
  "_published": "2026-07-22T07:42:56.403Z",
  "_jobs": [
    {
      "job": 88861438578,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8521917365"
    },
    {
      "job": 88861438511,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8521922204"
    },
    {
      "job": 88861438550,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8521923206"
    },
    {
      "job": 88861438531,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8521917838"
    },
    {
      "job": 88860842923,
      "time": 189,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8521853018"
    },
    {
      "job": 88861438510,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8521907895"
    },
    {
      "job": 88861438544,
      "time": 117,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8521902486"
    },
    {
      "job": 88861438619,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8521891174"
    },
    {
      "job": 88861438519,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8521894344"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530",
  "_status": "success",
  "_upstream": "https://github.com/tavakohr/rwevalidate",
  "_commit": {
    "id": "80010f8512b6136b639b18d89f61bda74f77a8bc",
    "author": "Hamid Tavakoli <htavakoli@gmail.com>",
    "committer": "Hamid Tavakoli <htavakoli@gmail.com>",
    "message": "Reword cran-comments: warmer, simpler, no em dashes\n\nAlso fix a stale \"see Resubmission point 3\" reference left over from the\nnumbered-list version of the comments.\n\nCo-Authored-By: Claude Fable 5 <noreply@anthropic.com>\n",
    "time": 1783790563
  },
  "_maintainer": {
    "name": "Hamid Tavakoli",
    "email": "htavakoli@gmail.com",
    "login": "tavakohr",
    "linkedin": "in/hamid-tavakoli",
    "description": "MD, MSc | Clinical Data Scientist | Bridging healthcare and technology through R, OMOP CDM, and AI-driven data pipelines for Real-World Evidence.",
    "uuid": 15946365
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "RPostgres",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "tavakohr",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 8
    },
    {
      "week": "2026-27",
      "n": 10
    },
    {
      "week": "2026-28",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "tavakohr",
      "count": 25,
      "uuid": 15946365
    }
  ],
  "_userbio": {
    "uuid": 15946365,
    "type": "user",
    "name": "Hamid Tavakoli",
    "followers": 4,
    "description": "MD, MSc | Clinical Data Scientist | Bridging healthcare and technology through R, OMOP CDM, and AI-driven data pipelines for Real-World Evidence."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rwevalidate"
  },
  "_devurl": "https://github.com/tavakohr/rwevalidate",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rwevalidate.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tavakohr/rwevalidate",
  "_realowner": "tavakohr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2026-07-21"
    }
  ],
  "_exports": [
    "build_check_summary",
    "cdm_connect",
    "cdm_disconnect",
    "classify_status",
    "example_cdm",
    "render_validation_report",
    "run_attrition",
    "run_concepts",
    "run_covariates",
    "run_density",
    "validate_cohort",
    "write_results_json"
  ],
  "_help": [
    {
      "page": "build_check_summary",
      "title": "Build the traffic-light validation summary table",
      "topics": [
        "build_check_summary"
      ]
    },
    {
      "page": "cdm_connect",
      "title": "Connect to an OMOP CDM database",
      "topics": [
        "cdm_connect"
      ]
    },
    {
      "page": "cdm_disconnect",
      "title": "Disconnect from a CDM database",
      "topics": [
        "cdm_disconnect"
      ]
    },
    {
      "page": "classify_status",
      "title": "Classify a vector of module flags into a traffic-light status",
      "topics": [
        "classify_status"
      ]
    },
    {
      "page": "example_cdm",
      "title": "Create a small in-memory OMOP CDM for examples and demos",
      "topics": [
        "example_cdm"
      ]
    },
    {
      "page": "render_validation_report",
      "title": "Render the validation report (HTML) and write the JSON sidecar",
      "topics": [
        "render_validation_report"
      ]
    },
    {
      "page": "run_attrition",
      "title": "Module 2 - Cohort Attrition Audit",
      "topics": [
        "run_attrition"
      ]
    },
    {
      "page": "run_concepts",
      "title": "Module 1 - Concept Coverage",
      "topics": [
        "run_concepts"
      ]
    },
    {
      "page": "run_covariates",
      "title": "Module 4 - Covariate Feasibility",
      "topics": [
        "run_covariates"
      ]
    },
    {
      "page": "run_density",
      "title": "Module 3 - Temporal Data Density",
      "topics": [
        "run_density"
      ]
    },
    {
      "page": "validate_cohort",
      "title": "Validate a patient cohort for real-world-evidence use",
      "topics": [
        "validate_cohort"
      ]
    },
    {
      "page": "write_results_json",
      "title": "Write the JSON sidecar (no rendering)",
      "topics": [
        "write_results_json"
      ]
    }
  ],
  "_readme": "https://github.com/tavakohr/rwevalidate/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bit",
    "bit64",
    "blob",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "DBI",
    "digest",
    "evaluate",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "glue",
    "highr",
    "hms",
    "htmltools",
    "jquerylib",
    "jsonlite",
    "knitr",
    "lifecycle",
    "lubridate",
    "memoise",
    "mime",
    "pkgconfig",
    "R6",
    "rappdirs",
    "rlang",
    "rmarkdown",
    "RPostgres",
    "sass",
    "timechange",
    "tinytex",
    "vctrs",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with rwevalidate",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Try it without a database",
        "1. Connect",
        "2. Instantiate a cohort (upstream)",
        "3. Validate in one call",
        "4. Run modules individually",
        "5. Interpreting the traffic light"
      ],
      "created": "2026-06-26 03:10:25",
      "modified": "2026-07-02 23:13:28",
      "commits": 2
    },
    {
      "source": "validation.Rmd",
      "filename": "validation.html",
      "title": "Validation: cohorts, datasets, and methodology",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Datasets",
        "Tier 1 - domain battery (100-patient CDM)",
        "Tier 2 - gold-standard OHDSI phenotypes (5,000-patient CDM)",
        "Tier 3 - independent synthetic source (Eunomia)",
        "Reproducing the validation",
        "1. Connect (split-schema)",
        "2. Derive observation_period (if absent)",
        "3. Instantiate a cohort (OHDSI concept-set method)",
        "4. Seeds used (replicable)",
        "5. Validate",
        "Machine-readable results"
      ],
      "created": "2026-06-26 06:36:14",
      "modified": "2026-06-26 06:36:14",
      "commits": 1
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "rwevalidate",
  "_universes": [
    "tavakohr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-07-22T07:41:06.000Z",
      "distro": "resolute",
      "commit": "80010f8512b6136b639b18d89f61bda74f77a8bc",
      "fileid": "https://r2.ropensci.org/6db94d245ad72812b073ae29e7669f1e9bd5242ad54244da04b514a9188ba38b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-07-22T07:41:18.000Z",
      "distro": "resolute",
      "commit": "80010f8512b6136b639b18d89f61bda74f77a8bc",
      "fileid": "https://r2.ropensci.org/ce9bf3a1cb1a15bc145c0100710c7240e754381a6a99f6547743767cf23f7623",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-07-22T07:41:29.000Z",
      "commit": "80010f8512b6136b639b18d89f61bda74f77a8bc",
      "fileid": "https://r2.ropensci.org/788edec702143dc858657de9137974de9b050cf46ed34e8cfdb280359b2458df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-07-22T07:41:13.000Z",
      "commit": "80010f8512b6136b639b18d89f61bda74f77a8bc",
      "fileid": "https://r2.ropensci.org/31b85481f8e91e11774a2550f8fba0e70ab599bb180398f083209daf3104b03d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-07-22T07:41:20.000Z",
      "commit": "80010f8512b6136b639b18d89f61bda74f77a8bc",
      "fileid": "https://r2.ropensci.org/39e2cbfab71cd9269bbd946fc914fd6b29459c513b29b189154523663e7b829f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-22T07:40:22.000Z",
      "commit": "80010f8512b6136b639b18d89f61bda74f77a8bc",
      "fileid": "https://r2.ropensci.org/84ddca8177608480a059127e76a418e041a453fd6698ef882c9316988bc44d8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-22T07:39:59.000Z",
      "commit": "80010f8512b6136b639b18d89f61bda74f77a8bc",
      "fileid": "https://r2.ropensci.org/065ad7667d0f43018dac0cb92c60a050a09212da55da3c760ca2999a1ebd4299",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-22T07:40:05.000Z",
      "commit": "80010f8512b6136b639b18d89f61bda74f77a8bc",
      "fileid": "https://r2.ropensci.org/20061f0a77c81637436d0ea524b0ab0641a7b1eaab6ed2cb9500a27494ad0c7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tavakohr/actions/runs/29900777530"
    }
  ]
}