{
  "_id": "6a32e1f83efcd9bda43961e7",
  "Package": "SelfControlledCohort",
  "Type": "Package",
  "Title": "Self-Controlled Cohort Population-Level Estimation",
  "Version": "2.0.0",
  "Date": "2026-05-27",
  "Authors@R": "c(\nperson(\"Jamie\", \"Gilbert\", email = \"gilbert@ohdsi.org\", role = c(\"cre\", \"aut\"), comment = c(ORCID = \"0000-0003-2294-3459\")),\nperson(\"Martijn\", \"Schuemie\", email = \"schuemie@ohdsi.org\", role = c(\"aut\")),\nperson(\"Patrick\", \"Ryan\", role = c(\"aut\")),\nperson(\"Observational Health Data Science and Informatics\", role = c(\"cph\"))\n)",
  "Maintainer": "Jamie Gilbert <gilbert@ohdsi.org>",
  "Description": "Estimates incidence rate ratios by comparing time exposed\nwith time unexposed among an exposed cohort using\nself-controlled cohort methodology as described in Ryan et al.\n(2013) <doi:10.1002/pds.3457>. Functions used for empirical\ncalibration of effect estimates, confidence intervals, and\np-values are included to control for residual bias.",
  "URL": "https://github.com/OHDSI/SelfControlledCohort,\nhttps://ohdsi.github.io/SelfControlledCohort/",
  "BugReports": "https://github.com/OHDSI/SelfControlledCohort/issues",
  "Language": "en-US",
  "License": "Apache License 2.0",
  "RoxygenNote": "8.0.0",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-17 18:01:32 UTC",
    "User": "root"
  },
  "Author": "Jamie Gilbert [cre, aut] (ORCID:\n<https://orcid.org/0000-0003-2294-3459>), Martijn Schuemie\n[aut], Patrick Ryan [aut], Observational Health Data Science\nand Informatics [cph]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-17 14:00:13 UTC",
  "RemoteUrl": "https://github.com/cran/SelfControlledCohort",
  "RemoteRef": "HEAD",
  "RemoteSha": "92b4ff7d11b132aa7ec494d152671dc4d163d32d",
  "MD5sum": "6fdd2692280fdda0d218d321edb2c98c",
  "_user": "cran",
  "_type": "src",
  "_file": "SelfControlledCohort_2.0.0.tar.gz",
  "_fileid": "fcada1ec36c6e1c441bd8c9a0d005375f569eb51ad328639833b1a3a700682f3",
  "_filesize": 376389,
  "_sha256": "fcada1ec36c6e1c441bd8c9a0d005375f569eb51ad328639833b1a3a700682f3",
  "_created": "2026-06-17T18:01:32.000Z",
  "_published": "2026-06-17T18:05:44.026Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81966235298,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7703865075"
    },
    {
      "job": 81966235285,
      "time": 192,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7703857358"
    },
    {
      "job": 81965059464,
      "time": 351,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7703782785"
    },
    {
      "job": 81966235357,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7703843110"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27709026567",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/SelfControlledCohort",
  "_commit": {
    "id": "92b4ff7d11b132aa7ec494d152671dc4d163d32d",
    "author": "Jamie Gilbert <gilbert@ohdsi.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.0\n",
    "time": 1781704813
  },
  "_maintainer": {
    "name": "Jamie Gilbert",
    "email": "gilbert@ohdsi.org",
    "login": "azimov",
    "description": "Epidemiology Analytics and Open Source Software Development with a background in Computational Systems Biology",
    "uuid": 180659,
    "orcid": "0000-0003-2294-3459"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "DatabaseConnector",
      "version": ">= 5.0.0",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "SqlRender",
      "version": ">= 1.4.3",
      "role": "Imports"
    },
    {
      "package": "ParallelLogger",
      "role": "Imports"
    },
    {
      "package": "rateratio.test",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "EmpiricalCalibration",
      "role": "Imports"
    },
    {
      "package": "ResultModelManager",
      "role": "Imports"
    },
    {
      "package": "Andromeda",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "Eunomia",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "DiagrammeR",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "R.utils",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinycssloaders",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "reactable",
      "role": "Suggests"
    },
    {
      "package": "shinyWidgets",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.0",
      "date": "2026-06-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "azimov",
      "count": 1,
      "uuid": 180659
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SelfControlledCohort"
  },
  "_devurl": "https://github.com/ohdsi/selfcontrolledcohort",
  "_pkgdown": "https://ohdsi.github.io/SelfControlledCohort/",
  "_searchresults": 23,
  "_topics": [
    "openjdk"
  ],
  "_rbuild": "4.6.0",
  "_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/SelfControlledCohort.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "2.0.0",
      "date": "2026-06-17"
    }
  ],
  "_exports": [
    "computeEase",
    "computeMdrrForRateRatio",
    "createExposureOutcome",
    "createResultsDataModel",
    "createRunSelfControlledCohortArgs",
    "createSccAnalysis",
    "createSelfControlledCohortModuleSpecifications",
    "execute",
    "getDataMigrator",
    "getDefaultDiagnosticThresholds",
    "getDefaultExportManager",
    "getDiagnosticsSummary",
    "getModuleInfo",
    "getResultsDataModelSpecifications",
    "getResultsFolders",
    "getSccRiskWindowStats",
    "loadExposureOutcomeList",
    "loadSccAnalysisList",
    "migrateDataModel",
    "runSccAnalyses",
    "runSccDiagnostics",
    "runSccRiskWindows",
    "runSelfControlledCohort",
    "saveExposureOutcomeList",
    "saveSccAnalysisList",
    "uploadResults"
  ],
  "_help": [
    {
      "page": "computeEase",
      "title": "Compute Expected Absolute Systematic Error (EASE)",
      "topics": [
        "computeEase"
      ]
    },
    {
      "page": "computeMdrrForRateRatio",
      "title": "Compute Minimum Detectable Relative Risk (MDRR) for rate ratio",
      "topics": [
        "computeMdrrForRateRatio"
      ]
    },
    {
      "page": "createExposureOutcome",
      "title": "Create exposure-outcome combinations.",
      "topics": [
        "createExposureOutcome"
      ]
    },
    {
      "page": "createResultsDataModel",
      "title": "Create the results data model tables on a database server.",
      "topics": [
        "createResultsDataModel"
      ]
    },
    {
      "page": "createRunSelfControlledCohortArgs",
      "title": "Create a parameter object for the function runSelfControlledCohort",
      "topics": [
        "createRunSelfControlledCohortArgs"
      ]
    },
    {
      "page": "createSccAnalysis",
      "title": "Create a SelfControlledCohort analysis specification",
      "topics": [
        "createSccAnalysis"
      ]
    },
    {
      "page": "createSelfControlledCohortModuleSpecifications",
      "title": "Create Self-Controlled Cohort Module Specifications",
      "topics": [
        "createSelfControlledCohortModuleSpecifications"
      ]
    },
    {
      "page": "execute",
      "title": "Execute Self-Controlled Cohort Analyses for Strategus",
      "topics": [
        "execute"
      ]
    },
    {
      "page": "getDataMigrator",
      "title": "Get database migrations instance",
      "topics": [
        "getDataMigrator"
      ]
    },
    {
      "page": "getDefaultDiagnosticThresholds",
      "title": "Get default diagnostic thresholds",
      "topics": [
        "getDefaultDiagnosticThresholds"
      ]
    },
    {
      "page": "getDefaultExportManager",
      "title": "Get Default export manager",
      "topics": [
        "getDefaultExportManager"
      ]
    },
    {
      "page": "getDiagnosticsSummary",
      "title": "Get diagnostics summary",
      "topics": [
        "getDiagnosticsSummary"
      ]
    },
    {
      "page": "getModuleInfo",
      "title": "Get module information",
      "topics": [
        "getModuleInfo"
      ]
    },
    {
      "page": "getResultsDataModelSpecifications",
      "title": "Get specifications for CohortMethod results data model",
      "topics": [
        "getResultsDataModelSpecifications"
      ]
    },
    {
      "page": "getResultsFolders",
      "title": "Get results folders for an analysis specification",
      "topics": [
        "getResultsFolders"
      ]
    },
    {
      "page": "getSccRiskWindowStats",
      "title": "Get Self-Controlled Cohort Risk Window Statistics",
      "topics": [
        "getSccRiskWindowStats"
      ]
    },
    {
      "page": "loadExposureOutcomeList",
      "title": "Load a list of exposureOutcome from file",
      "topics": [
        "loadExposureOutcomeList"
      ]
    },
    {
      "page": "loadSccAnalysisList",
      "title": "Load a list of sccAnalysis from file",
      "topics": [
        "loadSccAnalysisList"
      ]
    },
    {
      "page": "migrateDataModel",
      "title": "Migrate Data model",
      "topics": [
        "migrateDataModel"
      ]
    },
    {
      "page": "runSccAnalyses",
      "title": "Run a list of analyses",
      "topics": [
        "runSccAnalyses"
      ]
    },
    {
      "page": "runSccDiagnostics",
      "title": "Run Self-Controlled Cohort Diagnostics",
      "topics": [
        "runSccDiagnostics"
      ]
    },
    {
      "page": "runSccRiskWindows",
      "title": "Run Self-Controlled Cohort Risk Windows",
      "topics": [
        "runSccRiskWindows"
      ]
    },
    {
      "page": "runSelfControlledCohort",
      "title": "Run self-controlled cohort",
      "topics": [
        "runSelfControlledCohort"
      ]
    },
    {
      "page": "saveExposureOutcomeList",
      "title": "Save a list of exposureOutcome to file",
      "topics": [
        "saveExposureOutcomeList"
      ]
    },
    {
      "page": "saveSccAnalysisList",
      "title": "Save a list of sccAnalysis to file",
      "topics": [
        "saveSccAnalysisList"
      ]
    },
    {
      "page": "uploadResults",
      "title": "Upload results to the database server.",
      "topics": [
        "uploadResults"
      ]
    }
  ],
  "_readme": "https://github.com/cran/SelfControlledCohort/raw/HEAD/README.md",
  "_rundeps": [
    "Andromeda",
    "backports",
    "bit",
    "bit64",
    "blob",
    "checkmate",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "DatabaseConnector",
    "DBI",
    "dbplyr",
    "digest",
    "dplyr",
    "duckdb",
    "EmpiricalCalibration",
    "farver",
    "fastmap",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "isoband",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "lubridate",
    "magrittr",
    "memuse",
    "ParallelLogger",
    "pillar",
    "pkgconfig",
    "pool",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rateratio.test",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "ResultModelManager",
    "rJava",
    "rlang",
    "rstudioapi",
    "S7",
    "scales",
    "snow",
    "SqlRender",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "triebeard",
    "tzdb",
    "urltools",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xml2",
    "zip"
  ],
  "_sysdeps": [
    {
      "shlib": "libjvm",
      "package": "openjdk-21-jre-headless",
      "headers": "openjdk-21-jre-headless",
      "source": "openjdk",
      "version": "21.0.11+10-1~24.04.2",
      "name": "openjdk",
      "homepage": "https://openjdk.java.net/",
      "description": "OpenJDK Java runtime, using Hotspot JIT (headless)"
    }
  ],
  "_vignettes": [
    {
      "source": "StudyDiagnostics.Rmd",
      "filename": "StudyDiagnostics.html",
      "title": "Study Diagnostics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Minimum Detectable Relative Risk (MDRR)",
        "What it checks",
        "Method",
        "Interpretation",
        "Example",
        "Role in blinding",
        "Pre-Exposure Gain",
        "Why it matters",
        "Event-Dependent Observation",
        "Expected Absolute Systematic Error (EASE)",
        "When it runs",
        "Tiered Blinding",
        "Running Diagnostics",
        "Customizing thresholds",
        "Selecting specific diagnostics",
        "Inspecting failures"
      ],
      "created": "2026-06-17 14:00:13",
      "modified": "2026-06-17 14:00:13",
      "commits": 1
    },
    {
      "source": "UsingSelfControlledCohort.Rmd",
      "filename": "UsingSelfControlledCohort.html",
      "title": "Using SelfControlledCohort",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup and Data",
        "Running a Basic Analysis",
        "Understanding Risk Windows",
        "Using Custom Cohorts",
        "Diagnostics and Tiered Blinding",
        "Empirical Calibration",
        "Multi-Analysis Workflow",
        "Working with the Results Database"
      ],
      "created": "2026-06-17 14:00:13",
      "modified": "2026-06-17 14:00:13",
      "commits": 1
    }
  ],
  "_score": 3.361727836017593,
  "_indexed": false,
  "_nocasepkg": "selfcontrolledcohort",
  "_universes": [
    "cran",
    "azimov",
    "ohdsi"
  ],
  "_indexurl": "https://ohdsi.r-universe.dev/SelfControlledCohort",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-17T18:04:31.000Z",
      "distro": "noble",
      "commit": "92b4ff7d11b132aa7ec494d152671dc4d163d32d",
      "fileid": "8274e7eaaba6e1888ed5ef86a2cbd89acea53658665afd8c211282b58a865b0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27709026567"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-17T18:04:07.000Z",
      "distro": "noble",
      "commit": "92b4ff7d11b132aa7ec494d152671dc4d163d32d",
      "fileid": "fd71f0987ffe923edf256f3e4cf818033f834312c177b20543485ae219ce069d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27709026567"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-06-17T18:04:28.000Z",
      "commit": "92b4ff7d11b132aa7ec494d152671dc4d163d32d",
      "fileid": "cb5a6b1869f869f9725a9e446a216ea2d15d258a6f7ac60bdba9a61e94d12ef0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27709026567"
    }
  ]
}