{
  "_id": "6a4789d26527f6f71fa0d98b",
  "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",
  "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",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 10:02:54 UTC",
    "User": "root"
  },
  "Author": "Kim López-Güell [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8462-8668>), Edward Burn [aut]\n(ORCID: <https://orcid.org/0000-0002-9286-1128>), Martí Català\n[aut] (ORCID: <https://orcid.org/0000-0003-3308-9905>), Xintong\nLi [aut] (ORCID: <https://orcid.org/0000-0002-6872-5804>),\nDanielle Newby [aut] (ORCID:\n<https://orcid.org/0000-0002-3001-1478>), Nuria Mercade-Besora\n[aut] (ORCID: <https://orcid.org/0009-0006-7948-3747>)",
  "Maintainer": "Kim López-Güell <kim.lopez@spc.ox.ac.uk>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-03 08:30:14 UTC",
  "RemoteUrl": "https://github.com/cran/CohortSurvival",
  "RemoteRef": "HEAD",
  "RemoteSha": "3d5fbe9ac49fcdb54ead157b363694920a7a64ff",
  "_user": "cran",
  "_type": "src",
  "_file": "CohortSurvival_1.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/9b79d02e8901b2cc26492d107ab429c3bb56fb181e2dd6ab6258efcd03417b22",
  "_filesize": 3010516,
  "_sha256": "9b79d02e8901b2cc26492d107ab429c3bb56fb181e2dd6ab6258efcd03417b22",
  "_expires": "2026-10-11T10:07:13.000Z",
  "_created": "2026-07-03T10:02:54.000Z",
  "_published": "2026-07-03T10:07:14.615Z",
  "_jobs": [
    {
      "job": 84976578057,
      "time": 209,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8063681127"
    },
    {
      "job": 84976578058,
      "time": 219,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8063685270"
    },
    {
      "job": 84975547459,
      "time": 351,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8063601622"
    },
    {
      "job": 84976578051,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8063665145"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28653056760",
  "_status": "success",
  "_upstream": "https://github.com/cran/CohortSurvival",
  "_commit": {
    "id": "3d5fbe9ac49fcdb54ead157b363694920a7a64ff",
    "author": "Kim López-Güell <kim.lopez@spc.ox.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.2\n",
    "time": 1783067414
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.3",
      "date": "2025-08-18"
    },
    {
      "name": "1.1.0",
      "date": "2025-12-04"
    },
    {
      "name": "1.1.1",
      "date": "2026-05-13"
    },
    {
      "name": "1.1.2",
      "date": "2026-07-03"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "edward-burn",
      "count": 9,
      "uuid": 9583964
    },
    {
      "user": "kimlopezguell",
      "count": 7,
      "uuid": 99121045
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 616,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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": 78,
  "_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": false,
  "_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/cran/CohortSurvival/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/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-12-08 02:38:58",
      "modified": "2026-07-03 08:30:14",
      "commits": 11
    },
    {
      "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 08:30:14",
      "modified": "2026-07-03 08:30:14",
      "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 02:42:04",
      "modified": "2026-07-03 08:30:14",
      "commits": 7
    },
    {
      "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-12-08 02:38:58",
      "modified": "2026-07-03 08:30:14",
      "commits": 13
    }
  ],
  "_score": 4.795184589682424,
  "_indexed": false,
  "_nocasepkg": "cohortsurvival",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://darwin-eu.r-universe.dev/CohortSurvival",
  "_previous": "1.1.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-03T10:05:23.000Z",
      "distro": "resolute",
      "commit": "3d5fbe9ac49fcdb54ead157b363694920a7a64ff",
      "fileid": "https://r2.ropensci.org/310bf7ad2647819c850bf1256fa44267fc72d00cb7a24f65e45ee48a5dd4998f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28653056760"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-03T10:05:30.000Z",
      "distro": "resolute",
      "commit": "3d5fbe9ac49fcdb54ead157b363694920a7a64ff",
      "fileid": "https://r2.ropensci.org/4fb05f72cf6b71ff791ac08a03e7ef1c735f570af2f2b87329ff69cce8d41d4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28653056760"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-07-03T10:06:00.000Z",
      "commit": "3d5fbe9ac49fcdb54ead157b363694920a7a64ff",
      "fileid": "https://r2.ropensci.org/33401be55b2e2f7368b422fba133229e8498e67b5b9f715f5f0d2b4f57c1ed13",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28653056760"
    }
  ]
}