{
  "_id": "6a63d0411472242c719081d6",
  "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-24 20:46:36 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/bc9b0ca1f0b5e22b7efe090f39670f100aaf4c9c5db26c56fb512481a084c231",
  "_filesize": 3007561,
  "_sha256": "bc9b0ca1f0b5e22b7efe090f39670f100aaf4c9c5db26c56fb512481a084c231",
  "_expires": "2026-11-01T20:51:11.000Z",
  "_created": "2026-07-24T20:46:36.000Z",
  "_published": "2026-07-24T20:51:13.905Z",
  "_jobs": [
    {
      "job": 89587499793,
      "time": 213,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8609077358"
    },
    {
      "job": 89587499771,
      "time": 226,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8609082750"
    },
    {
      "job": 89587499775,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8609039129"
    },
    {
      "job": 89587499776,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8609045748"
    },
    {
      "job": 89586081053,
      "time": 413,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8608994496"
    },
    {
      "job": 89587499777,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8609054188"
    },
    {
      "job": 89587499801,
      "time": 199,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8609071815"
    },
    {
      "job": 89587499819,
      "time": 148,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8609052512"
    },
    {
      "job": 89587499781,
      "time": 161,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8609057380"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331",
  "_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": 60,
    "description": "DARWIN EU® will deliver real-world evidence from across Europe on diseases, populations and the uses and performance of medicines."
  },
  "_downloads": {
    "count": 597,
    "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"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-24T20:49:27.000Z",
      "distro": "resolute",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/ad6936470ede85fd5240ec3f169bb73bf652bc73b0deda15a0c16c98fb72e53b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-24T20:49:24.000Z",
      "distro": "resolute",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/474aa2c92da9a54e0c8be854d8c2d6494e91dc9504a7296f163d3dd31de8fb7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-24T20:48:10.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/9be3ac05451fccef70c5a431b4fd14d6199e86af87e937f2bb9027e9bcf472a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-24T20:48:20.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/620925cdf3df91adc288ff73be2de412db61923f041628697d77cb05b651e152",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-07-24T20:49:30.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/c603e5c0ef817a241f841287b8dfc61473d670693ddfb71ed341a0a6cfbb8d90",
      "status": "success",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-24T20:48:27.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/e91e24cc10a276bb58dbfa08c2cba97209515027d849dedb0fb861611ee77727",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-24T20:47:56.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/20135cb77568e731959b3d5075a8eb2747cf991f3cfc7c2ef3178bb1cce6f17c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-24T20:48:19.000Z",
      "commit": "f1d3adf43343cfb742f2b08de5eca90ed5c9c33e",
      "fileid": "https://r2.ropensci.org/674a4301f03382e062f0006c42b0155bf89e2313011c839039acbded0fa85680",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/darwin-eu/actions/runs/30124914331"
    }
  ]
}