{
  "_id": "6a47afe0e06c18f0a651af0c",
  "Package": "CohortSurvival",
  "Title": "Estimate Survival from Common Data Model Cohorts",
  "Version": "1.1.2",
  "Authors@R": "c(\nperson(\"Kim\", \"López-Güell\", email = \"kim.lopez@spc.ox.ac.uk\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8462-8668\")),\nperson(\"Edward\", \"Burn\", email = \"edward.burn@ndorms.ox.ac.uk\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-9286-1128\")),\nperson(\"Martí\", \"Català\", email = \"marti.catalasabate@ndorms.ox.ac.uk\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-3308-9905\")),\nperson(\"Xintong\", \"Li\", email = \"xintong.li@ndorms.ox.ac.uk\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-6872-5804\")),\nperson(\"Danielle\", \"Newby\", email = \"danielle.newby@ndorms.ox.ac.uk\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-3001-1478\")),\nperson(\"Nuria\", \"Mercade-Besora\", , \"nuria.mercadebesora@ndorms.ox.ac.uk\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0009-0006-7948-3747\")))",
  "Description": "Estimate survival using data mapped to the Observational\nMedical Outcomes Partnership common data model. Survival can be\nestimated based on user-defined study cohorts.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "8.0.0",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://darwin-eu.github.io/CohortSurvival/",
  "BugReports": "https://github.com/darwin-eu/CohortSurvival/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://darwin-eu.r-universe.dev",
  "Date/Publication": "2026-07-03 10:04:09 UTC",
  "RemoteUrl": "https://github.com/darwin-eu/cohortsurvival",
  "RemoteRef": "HEAD",
  "RemoteSha": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 12:45:07 UTC",
    "User": "root"
  },
  "Author": "Kim López-Güell [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8462-8668>),\nEdward Burn [aut] (ORCID: <https://orcid.org/0000-0002-9286-1128>),\nMartí Català [aut] (ORCID: <https://orcid.org/0000-0003-3308-9905>),\nXintong Li [aut] (ORCID: <https://orcid.org/0000-0002-6872-5804>),\nDanielle Newby [aut] (ORCID: <https://orcid.org/0000-0002-3001-1478>),\nNuria Mercade-Besora [aut] (ORCID:\n<https://orcid.org/0009-0006-7948-3747>)",
  "Maintainer": "Kim López-Güell <kim.lopez@spc.ox.ac.uk>",
  "_user": "darwin-eu",
  "_type": "src",
  "_file": "CohortSurvival_1.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/9bbf7c8e0a79400b934ee36923c3ac4129c6052d8bb89f557c4d338ba6ae4a02",
  "_filesize": 3008465,
  "_sha256": "9bbf7c8e0a79400b934ee36923c3ac4129c6052d8bb89f557c4d338ba6ae4a02",
  "_expires": "2026-10-11T12:49:35.000Z",
  "_created": "2026-07-03T12:45:07.000Z",
  "_published": "2026-07-03T12:49:36.572Z",
  "_jobs": [
    {
      "job": 85002716162,
      "time": 234,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8066901492"
    },
    {
      "job": 85002716243,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8066892633"
    },
    {
      "job": 85002716182,
      "time": 143,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8066869428"
    },
    {
      "job": 85002716210,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8066873419"
    },
    {
      "job": 85001764766,
      "time": 331,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8066816976"
    },
    {
      "job": 85002716234,
      "time": 164,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8066876621"
    },
    {
      "job": 85002716233,
      "time": 158,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8066874563"
    },
    {
      "job": 85002716194,
      "time": 171,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8066879322"
    },
    {
      "job": 85002716208,
      "time": 154,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8066873273"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442",
  "_status": "success",
  "_upstream": "https://github.com/darwin-eu/cohortsurvival",
  "_commit": {
    "id": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
    "author": "Kim López Güell <99121045+KimLopezGuell@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #15 from darwin-eu/v.1.1.1\n\nRelease 1.1.2",
    "time": 1783073049
  },
  "_maintainer": {
    "name": "Kim López-Güell",
    "email": "kim.lopez@spc.ox.ac.uk",
    "login": "kimlopezguell",
    "description": "",
    "uuid": 99121045,
    "orcid": "0000-0002-8462-8668"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "clock",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "omopgenerics",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "PatientProfiles",
      "version": ">= 1.3.1",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "survival",
      "version": ">= 3.7.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "CodelistGenerator",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tictoc",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "cmprsk",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "flextable",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "visOmopResults",
      "version": ">= 1.5.0",
      "role": "Suggests"
    },
    {
      "package": "extrafont",
      "role": "Suggests"
    },
    {
      "package": "CDMConnector",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "darwin-eu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 5
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.1.0",
      "date": "2025-12-04"
    },
    {
      "name": "v1.1.2",
      "date": "2026-07-03"
    }
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "edward-burn",
      "count": 18,
      "uuid": 9583964
    },
    {
      "user": "kimlopezguell",
      "count": 16,
      "uuid": 99121045
    },
    {
      "user": "prijnbeek",
      "count": 1,
      "uuid": 7252105
    }
  ],
  "_userbio": {
    "uuid": 120334168,
    "type": "organization",
    "name": "Darwin EU® Public Code Repository",
    "followers": 59,
    "description": "DARWIN EU® will deliver real-world evidence from across Europe on diseases, populations and the uses and performance of medicines."
  },
  "_downloads": {
    "count": 857,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CohortSurvival"
  },
  "_devurl": "https://github.com/darwin-eu/cohortsurvival",
  "_pkgdown": "https://darwin-eu.github.io/CohortSurvival/",
  "_searchresults": 87,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CohortSurvival.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/darwin-eu/cohortsurvival",
  "_realowner": "darwin-eu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.5",
      "date": "2023-12-07"
    },
    {
      "version": "0.3.0",
      "date": "2024-02-08"
    },
    {
      "version": "0.4.0",
      "date": "2024-04-02"
    },
    {
      "version": "0.5.0",
      "date": "2024-05-06"
    },
    {
      "version": "0.5.1",
      "date": "2024-05-18"
    },
    {
      "version": "0.5.2",
      "date": "2024-06-29"
    },
    {
      "version": "0.6.0",
      "date": "2024-11-14"
    },
    {
      "version": "0.6.1",
      "date": "2024-11-28"
    },
    {
      "version": "0.6.2",
      "date": "2025-01-22"
    },
    {
      "version": "1.0.0",
      "date": "2025-03-22"
    },
    {
      "version": "1.0.1",
      "date": "2025-04-02"
    },
    {
      "version": "1.0.2",
      "date": "2025-06-16"
    },
    {
      "version": "1.0.3",
      "date": "2025-08-18"
    },
    {
      "version": "1.1.0",
      "date": "2025-12-11"
    },
    {
      "version": "1.1.1",
      "date": "2026-05-13"
    },
    {
      "version": "1.1.2",
      "date": "2026-07-03"
    }
  ],
  "_exports": [
    "addCohortSurvival",
    "asSurvivalResult",
    "attrition",
    "availableSurvivalGrouping",
    "bind",
    "cohortCodelist",
    "cohortCount",
    "estimateCompetingRiskSurvival",
    "estimateSingleEventSurvival",
    "exportSummarisedResult",
    "importSummarisedResult",
    "mockMGUS2cdm",
    "optionsTableSurvival",
    "plotSurvival",
    "riskTable",
    "settings",
    "suppress",
    "tableSurvival",
    "tableSurvivalAttrition",
    "tableSurvivalEvents"
  ],
  "_help": [
    {
      "page": "addCohortSurvival",
      "title": "Add time and event status to a cohort table",
      "topics": [
        "addCohortSurvival"
      ]
    },
    {
      "page": "asSurvivalResult",
      "title": "Convert survival summarised results to a survival-specific format",
      "topics": [
        "asSurvivalResult"
      ]
    },
    {
      "page": "availableSurvivalGrouping",
      "title": "Variables that can be used for faceting and colouring survival plots",
      "topics": [
        "availableSurvivalGrouping"
      ]
    },
    {
      "page": "estimateCompetingRiskSurvival",
      "title": "Estimate cumulative incidence with a competing outcome",
      "topics": [
        "estimateCompetingRiskSurvival"
      ]
    },
    {
      "page": "estimateSingleEventSurvival",
      "title": "Estimate survival for a single event of interest",
      "topics": [
        "estimateSingleEventSurvival"
      ]
    },
    {
      "page": "mockMGUS2cdm",
      "title": "Create mock CDM reference with survival::mgus2 dataset",
      "topics": [
        "mockMGUS2cdm"
      ]
    },
    {
      "page": "optionsTableSurvival",
      "title": "Additional arguments for the function tableSurvival()",
      "topics": [
        "optionsTableSurvival"
      ]
    },
    {
      "page": "plotSurvival",
      "title": "Plot survival or cumulative incidence results",
      "topics": [
        "plotSurvival"
      ]
    },
    {
      "page": "riskTable",
      "title": "Table with survival events",
      "topics": [
        "riskTable"
      ]
    },
    {
      "page": "tableSurvival",
      "title": "Table with survival summary",
      "topics": [
        "tableSurvival"
      ]
    },
    {
      "page": "tableSurvivalAttrition",
      "title": "Display the attrition of a survival result in a visual table",
      "topics": [
        "tableSurvivalAttrition"
      ]
    },
    {
      "page": "tableSurvivalEvents",
      "title": "Table with survival events",
      "topics": [
        "tableSurvivalEvents"
      ]
    }
  ],
  "_pkglogo": "https://github.com/darwin-eu/cohortsurvival/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/darwin-eu/cohortsurvival/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "blob",
    "broom",
    "cli",
    "clock",
    "cpp11",
    "DBI",
    "dbplyr",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "omopgenerics",
    "PatientProfiles",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "a02_Competing_risk_survival.Rmd",
      "filename": "a02_Competing_risk_survival.html",
      "title": "Competing risk survival",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Set up",
        "Estimating survival with competing risk",
        "With stratification",
        "Disconnect from the cdm database connection"
      ],
      "created": "2023-11-13 16:00:03",
      "modified": "2026-07-03 10:04:09",
      "commits": 9
    },
    {
      "source": "a00_Creating_cohorts_for_survival.Rmd",
      "filename": "a00_Creating_cohorts_for_survival.html",
      "title": "Creating cohorts for survival analyses",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Set up",
        "Cohorts needed for survival",
        "Target cohort design",
        "Outcome cohort design",
        "Competing outcome design",
        "Adding strata",
        "Multiple cohorts in one table",
        "Pre-analysis checklist",
        "Disconnect from the cdm database connection"
      ],
      "created": "2026-07-03 10:04:09",
      "modified": "2026-07-03 10:04:09",
      "commits": 1
    },
    {
      "source": "a03_Further_survival_analyses.Rmd",
      "filename": "a03_Further_survival_analyses.html",
      "title": "Further survival analyses",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Set up",
        "Further analysis with single event survival",
        "Further analysis with competing risk survival",
        "Disconnect from the cdm database connection"
      ],
      "created": "2024-05-07 07:20:43",
      "modified": "2026-07-03 10:04:09",
      "commits": 6
    },
    {
      "source": "a01_Single_event_of_interest.Rmd",
      "filename": "a01_Single_event_of_interest.html",
      "title": "Single outcome event of interest",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Set up",
        "Overall survival",
        "Survival format",
        "Changing estimation parameters",
        "With stratification",
        "Multiple target or outcome cohorts",
        "Checking the assumption of proportionality between outcomes",
        "Export and import a survival output",
        "Disconnect from the cdm database connection"
      ],
      "created": "2023-09-14 00:22:39",
      "modified": "2026-07-03 10:04:09",
      "commits": 11
    }
  ],
  "_score": 6.842609239610562,
  "_indexed": true,
  "_nocasepkg": "cohortsurvival",
  "_universes": [
    "darwin-eu",
    "kimlopezguell"
  ],
  "_previous": "1.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-03T12:47:56.000Z",
      "distro": "resolute",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/769bd6633b1a11ec6f748b20684080368666236d51c4046e490526a75deae2d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-03T12:47:44.000Z",
      "distro": "resolute",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/66f4ceb219a9fa7407ef63b0b97971e4a4b82faa979c94328e9907c2a4bf1011",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-03T12:46:50.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/b07ee85b20d124f8b227f46f15b5dd2d62435e9249bd5b4bd9ea608fa7349266",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-03T12:46:53.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/b75ec8434f66f2a5900e679c2c1cd19de3c23436e037a09226f86baa65b3a431",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-07-03T12:48:07.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/cb8d4228dd3a64f418e84c9133bd5cfe73f0208b054eb4098fd2e4f7ad3f3ee9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-03T12:46:29.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/e0abd9b8db539bd074ec3ca1e3681e912cc40de55bbd5230296eb02a0f41185d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-03T12:46:30.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/c2aa9bf19c9c78b205a8ee9fe85ddf572a31e7b10f9c301a3c3f016a0937b89d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-03T12:46:23.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/b1741b69074c9bee9be7d65b4e42b75777e70e015d48f3b3d577f634992bb02b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/28661125442"
    }
  ]
}