{
  "_id": "6ac6c995de46216d5edcd4a4",
  "Package": "SelfControlledCohort",
  "Type": "Package",
  "Title": "Self-Controlled Cohort Population-Level Estimation",
  "Version": "2.1.0",
  "Date": "2026-09-07",
  "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",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "make default-jdk libicu-dev libxml2-dev libx11-dev\nxz-utils",
  "Repository": "https://ohdsi.r-universe.dev",
  "Date/Publication": "2026-10-07 14:35:36 UTC",
  "RemoteUrl": "https://github.com/ohdsi/selfcontrolledcohort",
  "RemoteRef": "HEAD",
  "RemoteSha": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 22:23:23 UTC",
    "User": "root"
  },
  "Author": "Jamie Gilbert [cre, aut] (ORCID:\n<https://orcid.org/0000-0003-2294-3459>),\nMartijn Schuemie [aut],\nPatrick Ryan [aut],\nObservational Health Data Science and Informatics [cph]",
  "_user": "ohdsi",
  "_type": "src",
  "_file": "SelfControlledCohort_2.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d19fc4dcc3ca865c7b3d99c012ecbc67ed8d805f6711d6347297541b00d09a24",
  "_filesize": 916446,
  "_sha256": "d19fc4dcc3ca865c7b3d99c012ecbc67ed8d805f6711d6347297541b00d09a24",
  "_expires": "2027-01-15T22:37:06.000Z",
  "_created": "2026-10-07T22:23:23.000Z",
  "_published": "2026-10-07T22:37:09.057Z",
  "_buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113047438133,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11516090197"
    },
    {
      "job": 113047438167,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11514899020"
    },
    {
      "job": 113047438153,
      "time": 139,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11515982566"
    },
    {
      "job": 113047438222,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11515987066"
    },
    {
      "job": 113045781902,
      "time": 269,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11516000430"
    },
    {
      "job": 113047438069,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11516010765"
    },
    {
      "job": 113047438596,
      "time": 144,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11514783795"
    },
    {
      "job": 113047438602,
      "time": 150,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11515671426"
    },
    {
      "job": 113047438532,
      "time": 111,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11514599515"
    }
  ],
  "_upstream": "https://github.com/ohdsi/selfcontrolledcohort",
  "_commit": {
    "id": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
    "author": "Jamie Gilbert <gilbert@ohdsi.org>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #32 from OHDSI/develop\n\nRelease 2.1.0",
    "time": 1791383736
  },
  "_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"
  },
  "_distro": "resolute",
  "_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": "CohortGenerator",
      "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": "ohdsi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-06-17"
    },
    {
      "name": "v2.1.0",
      "date": "2026-10-07"
    }
  ],
  "_topics": [
    "hades",
    "openjdk"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "azimov",
      "count": 84,
      "uuid": 180659
    },
    {
      "user": "schuemie",
      "count": 53,
      "uuid": 6713328
    },
    {
      "user": "msuchard",
      "count": 5,
      "uuid": 149039
    },
    {
      "user": "ablack3",
      "count": 1,
      "uuid": 10227522
    }
  ],
  "_userbio": {
    "uuid": 6570077,
    "type": "organization",
    "name": "Observational Health Data Sciences and Informatics",
    "followers": 1116
  },
  "_downloads": {
    "count": 368,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SelfControlledCohort"
  },
  "_devurl": "https://github.com/ohdsi/selfcontrolledcohort",
  "_pkgdown": "https://ohdsi.github.io/SelfControlledCohort/",
  "_searchresults": 17,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SelfControlledCohort.html"
  ],
  "_homeurl": "https://github.com/ohdsi/selfcontrolledcohort",
  "_realowner": "ohdsi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0.0",
      "date": "2026-06-17"
    },
    {
      "version": "2.1.0",
      "date": "2026-10-07"
    }
  ],
  "_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/ohdsi/selfcontrolledcohort/raw/HEAD/README.md",
  "_rundeps": [
    "Andromeda",
    "backports",
    "bit",
    "bit64",
    "blob",
    "checkmate",
    "cli",
    "clipr",
    "CohortGenerator",
    "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-25-jre-headless",
      "headers": "openjdk-25-jre-headless",
      "source": "openjdk",
      "version": "25.0.4.1+1-1~26.04.4",
      "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 15:10:03",
      "modified": "2026-06-17 15:10:03",
      "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": "2021-04-05 14:25:26",
      "modified": "2026-06-17 15:10:03",
      "commits": 2
    }
  ],
  "_score": 5.911690158753861,
  "_indexed": true,
  "_nocasepkg": "selfcontrolledcohort",
  "_universes": [
    "ohdsi",
    "azimov"
  ],
  "_previous": "2.0.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-07T22:26:10.000Z",
      "distro": "resolute",
      "commit": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
      "fileid": "https://r2.ropensci.org/bdb68311ec84bc61a0e9e7be69b2a5fd274655f64d656a3104f329ff72b521a1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-07T22:26:01.000Z",
      "distro": "resolute",
      "commit": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
      "fileid": "https://r2.ropensci.org/7443e65256e2b1825ae5ae2cd448bca781c181df5b2f8319edcd07a57720a44f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-10-07T22:35:41.000Z",
      "commit": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
      "fileid": "https://r2.ropensci.org/7cd847e81a08b0c0e198565410db0c47107eab5dbdb2988e8bde24780df97cde",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-10-07T22:33:11.000Z",
      "commit": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
      "fileid": "https://r2.ropensci.org/44f7f12cc5bf4713ee21735b7d250d034e307176b9d88d4c61589e97fbce44e2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-10-07T22:26:08.000Z",
      "commit": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
      "fileid": "https://r2.ropensci.org/efeef715617531839297de0f846379c7bba7d519853a2f91408edd7f91a590fc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-07T22:24:47.000Z",
      "commit": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
      "fileid": "https://r2.ropensci.org/d32ea948ce4564754577381b2b0a5bfb7573169ef51ea3cf73ca3afdd37675dc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-07T22:24:53.000Z",
      "commit": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
      "fileid": "https://r2.ropensci.org/299e8089477193fe29be32f199b909423271df026777dd3819e0214e662f5ac6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-07T22:24:35.000Z",
      "commit": "65fb23876a7cb14d3254f5b4544bc8ab291208d9",
      "fileid": "https://r2.ropensci.org/9333a3b6616c7778a7f2b1605628069b3aef980533e029283225c84f3606435d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37695361933"
    }
  ]
}