{
  "_id": "6ac3da9134f9a32edea22d86",
  "Package": "CohortSymmetry",
  "Title": "Sequence Symmetry Analysis Using the Observational Medical\nOutcomes Partnership Common Data Model",
  "Version": "0.4.0.9000",
  "Authors@R": "c(\nperson(\"Danielle\", \"Newby\", , \"danielle.newby@ndorms.ox.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3001-1478\")),\nperson(\"Xihang\", \"Chen\", , \"xihang.chen@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0009-0001-8112-8959\")),\nperson(\"Tyman\", \"Stanford\", , \"tyman.stanford@unisa.edu.au\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-8570-5493\")),\nperson(\"Berta\", \"Raventós\", , \"braventos@idiapjgol.info\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-4668-2970\")),\nperson(\"Nicole\", \"Pratt\", , \"Nicole.Pratt@unisa.edu.au\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-8730-8910\")),\nperson(\"Ed\", \"Burn\", , \"ed.burn@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9286-1128\")),\nperson(\"Marti\", \"Català\", , \"marti.catalasabate@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-3308-9905\")),\nperson(\"Núria\", \"Mercadé-Besora\", , \"nuria.mercadebesora@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0009-0006-7948-3747\")),\nperson(\"Mike\", \"Du\", , \"mike.du@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9517-8834\")),\nperson(\"Yuchen\", \"Guo\", , \"yuchen.guo@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-0847-4855\")),\nperson(\"Kim\", \"Lopez\", , \"kim.lopez@spc.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-8462-8668\")),\nperson(\"Marta\", \"Alcalde-Herraiz\", , \"marta.alcaldeherraiz@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0009-0002-4405-1814\"))\n)",
  "Maintainer": "Danielle Newby <danielle.newby@ndorms.ox.ac.uk>",
  "Description": "Calculating crude sequence ratio, adjusted sequence ratio\nand confidence intervals using data mapped to the Observational\nMedical Outcomes Partnership Common Data Model.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://ohdsi.github.io/CohortSymmetry/",
  "BugReports": "https://github.com/OHDSI/CohortSymmetry/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake libicu-dev libssl-dev libx11-dev",
  "Repository": "https://ohdsi.r-universe.dev",
  "Date/Publication": "2026-10-05 11:16:38 UTC",
  "RemoteUrl": "https://github.com/ohdsi/cohortsymmetry",
  "RemoteRef": "HEAD",
  "RemoteSha": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-05 16:37:20 UTC",
    "User": "root"
  },
  "Author": "Danielle Newby [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3001-1478>),\nXihang Chen [aut] (ORCID: <https://orcid.org/0009-0001-8112-8959>),\nTyman Stanford [aut] (ORCID: <https://orcid.org/0000-0002-8570-5493>),\nBerta Raventós [aut] (ORCID: <https://orcid.org/0000-0002-4668-2970>),\nNicole Pratt [aut] (ORCID: <https://orcid.org/0000-0001-8730-8910>),\nEd Burn [aut] (ORCID: <https://orcid.org/0000-0002-9286-1128>),\nMarti Català [aut] (ORCID: <https://orcid.org/0000-0003-3308-9905>),\nNúria Mercadé-Besora [aut] (ORCID:\n<https://orcid.org/0009-0006-7948-3747>),\nMike Du [aut] (ORCID: <https://orcid.org/0000-0002-9517-8834>),\nYuchen Guo [aut] (ORCID: <https://orcid.org/0000-0002-0847-4855>),\nKim Lopez [aut] (ORCID: <https://orcid.org/0000-0002-8462-8668>),\nMarta Alcalde-Herraiz [aut] (ORCID:\n<https://orcid.org/0009-0002-4405-1814>)",
  "_user": "ohdsi",
  "_type": "src",
  "_file": "CohortSymmetry_0.4.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/ba6e44c9264acba2dcddc6ab0f376cee1ab22c09265ff1b1b9a3db308279eecb",
  "_filesize": 2804785,
  "_sha256": "ba6e44c9264acba2dcddc6ab0f376cee1ab22c09265ff1b1b9a3db308279eecb",
  "_expires": "2027-01-13T17:12:46.000Z",
  "_created": "2026-10-05T16:37:20.000Z",
  "_published": "2026-10-05T17:12:49.520Z",
  "_jobs": [
    {
      "job": 111872104318,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11359147142"
    },
    {
      "job": 111872104317,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11358698783"
    },
    {
      "job": 111872104300,
      "time": 153,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11361450043"
    },
    {
      "job": 111872104280,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11361235243"
    },
    {
      "job": 111869804422,
      "time": 314,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11359600160"
    },
    {
      "job": 111872104053,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11359590261"
    },
    {
      "job": 111872104514,
      "time": 151,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11358902483"
    },
    {
      "job": 111872104267,
      "time": 121,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11358842572"
    },
    {
      "job": 111872104147,
      "time": 131,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11358857620"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503",
  "_status": "success",
  "_upstream": "https://github.com/ohdsi/cohortsymmetry",
  "_commit": {
    "id": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
    "author": "Danielle Newby <danielle.newby@ndorms.ox.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #374 from OHDSI/timescale_temporal_update\n\nupdate temporal seq functions and db requirements",
    "time": 1791198998
  },
  "_maintainer": {
    "name": "Danielle Newby",
    "email": "danielle.newby@ndorms.ox.ac.uk",
    "login": "daniellenewby",
    "orcid": "0000-0002-3001-1478",
    "twitter": "@Danielle_Newby",
    "description": "",
    "uuid": 16097637
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "PatientProfiles",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "here",
      "role": "Imports"
    },
    {
      "package": "omock",
      "version": ">= 0.6.2",
      "role": "Imports"
    },
    {
      "package": "omopgenerics",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "clock",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.5",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "cli",
      "role": "Suggests"
    },
    {
      "package": "odbc",
      "role": "Suggests"
    },
    {
      "package": "RPostgres",
      "role": "Suggests"
    },
    {
      "package": "tidyselect",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "dbplyr",
      "version": ">= 2.5.0",
      "role": "Suggests"
    },
    {
      "package": "visOmopResults",
      "version": ">= 1.5.1",
      "role": "Suggests"
    },
    {
      "package": "DrugUtilisation",
      "version": ">= 0.7.0",
      "role": "Suggests"
    },
    {
      "package": "CohortConstructor",
      "version": ">= 0.6.3",
      "role": "Suggests"
    },
    {
      "package": "CodelistGenerator",
      "version": ">= 3.1.0",
      "role": "Suggests"
    },
    {
      "package": "flextable",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "CDMConnector",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "ohdsi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 9
    },
    {
      "week": "2026-29",
      "n": 2
    },
    {
      "week": "2026-37",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 3
    },
    {
      "week": "2026-40",
      "n": 6
    },
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2026-07-07"
    },
    {
      "name": "v0.3.0.9000",
      "date": "2026-07-09"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "xihang-chen",
      "count": 464,
      "uuid": 114928037
    },
    {
      "user": "daniellenewby",
      "count": 48,
      "uuid": 16097637
    },
    {
      "user": "nmercadeb",
      "count": 26,
      "uuid": 61558739
    },
    {
      "user": "edward-burn",
      "count": 23,
      "uuid": 9583964
    },
    {
      "user": "kimlopezguell",
      "count": 10,
      "uuid": 99121045
    },
    {
      "user": "catalamarti",
      "count": 4,
      "uuid": 18575244
    },
    {
      "user": "braventos",
      "count": 3,
      "uuid": 80947940
    },
    {
      "user": "mimiyuchenguo",
      "count": 1,
      "uuid": 57181081
    }
  ],
  "_userbio": {
    "uuid": 6570077,
    "type": "organization",
    "name": "Observational Health Data Sciences and Informatics",
    "followers": 1115
  },
  "_downloads": {
    "count": 430,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CohortSymmetry"
  },
  "_devurl": "https://github.com/ohdsi/cohortsymmetry",
  "_pkgdown": "https://ohdsi.github.io/CohortSymmetry/",
  "_searchresults": 89,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CohortSymmetry.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ohdsi/cohortsymmetry",
  "_realowner": "ohdsi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-06-04"
    },
    {
      "version": "0.1.1",
      "date": "2024-06-17"
    },
    {
      "version": "0.1.2",
      "date": "2024-07-26"
    },
    {
      "version": "0.1.3",
      "date": "2024-09-23"
    },
    {
      "version": "0.1.4",
      "date": "2024-11-15"
    },
    {
      "version": "0.2.0",
      "date": "2024-11-29"
    },
    {
      "version": "0.2.1",
      "date": "2025-02-12"
    },
    {
      "version": "0.2.2",
      "date": "2025-03-01"
    },
    {
      "version": "0.2.3",
      "date": "2025-03-01"
    },
    {
      "version": "0.2.4",
      "date": "2025-03-24"
    },
    {
      "version": "0.3.0",
      "date": "2026-06-10"
    }
  ],
  "_exports": [
    "generateSequenceCohortSet",
    "mockCohortSymmetry",
    "plotSequenceRatios",
    "plotTemporalSymmetry",
    "summariseSequenceRatios",
    "summariseTemporalSymmetry",
    "tableSequenceRatios",
    "tableTemporalSymmetry"
  ],
  "_help": [
    {
      "page": "generateSequenceCohortSet",
      "title": "Intersecting the index and marker cohorts prior to calculating Sequence Symmetry Ratios",
      "topics": [
        "generateSequenceCohortSet"
      ]
    },
    {
      "page": "mockCohortSymmetry",
      "title": "Creates mock cdm object for testing",
      "topics": [
        "mockCohortSymmetry"
      ]
    },
    {
      "page": "plotSequenceRatios",
      "title": "A plot for the sequence ratios.",
      "topics": [
        "plotSequenceRatios"
      ]
    },
    {
      "page": "plotTemporalSymmetry",
      "title": "A plot for the temporal symmetry of cohorts.",
      "topics": [
        "plotTemporalSymmetry"
      ]
    },
    {
      "page": "summariseSequenceRatios",
      "title": "Sequence ratio calculations",
      "topics": [
        "summariseSequenceRatios"
      ]
    },
    {
      "page": "summariseTemporalSymmetry",
      "title": "Summarise temporal symmetry",
      "topics": [
        "summariseTemporalSymmetry"
      ]
    },
    {
      "page": "tableSequenceRatios",
      "title": "A formatted visualization of sequence_symmetry objects.",
      "topics": [
        "tableSequenceRatios"
      ]
    },
    {
      "page": "tableTemporalSymmetry",
      "title": "A formatted visualization of temporal_symmetry objects.",
      "topics": [
        "tableTemporalSymmetry"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ohdsi/cohortsymmetry/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ohdsi/cohortsymmetry/raw/HEAD/README.md",
  "_rundeps": [
    "arrow",
    "assertthat",
    "bit",
    "bit64",
    "blob",
    "cli",
    "clipr",
    "clock",
    "cpp11",
    "crayon",
    "DBI",
    "dbplyr",
    "dplyr",
    "generics",
    "glue",
    "here",
    "hms",
    "lifecycle",
    "magrittr",
    "omock",
    "omopgenerics",
    "PatientProfiles",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "rprojroot",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "a01_Introduction.Rmd",
      "filename": "a01_Introduction.html",
      "title": "Introduction to CohortSymmetry",
      "engine": "knitr::rmarkdown",
      "headings": [
        "As a diagram"
      ],
      "created": "2024-04-22 08:33:18",
      "modified": "2026-10-05 11:16:38",
      "commits": 19
    },
    {
      "source": "a02_Generate_a_sequence_cohort.Rmd",
      "filename": "a02_Generate_a_sequence_cohort.html",
      "title": "Step 1. Generate a sequence cohort",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Create a cdm object",
        "Instantiate two cohorts in the cdm reference",
        "Generate a sequence cohort",
        "No specific requirements",
        "Important Observations",
        "Specified study period",
        "Specified study period and prior history requirement",
        "Specified study period, prior history requirement and washout period",
        "Specified study period, prior history requirement and combination window",
        "Specified study period, prior history requirement and index marker gap"
      ],
      "created": "2024-10-15 10:26:05",
      "modified": "2026-10-05 11:16:38",
      "commits": 6
    },
    {
      "source": "a03_Summarise_sequence_ratios.Rmd",
      "filename": "a03_Summarise_sequence_ratios.html",
      "title": "Step 2. Obtain the sequence ratios",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Obtain sequence ratios"
      ],
      "created": "2024-05-28 07:16:33",
      "modified": "2026-10-05 11:16:38",
      "commits": 11
    },
    {
      "source": "a04_Visualise_sequence_ratios.Rmd",
      "filename": "a04_Visualise_sequence_ratios.html",
      "title": "Step 3. Visualise the sequence ratios",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Table output of the sequence ratio results",
        "Modify type",
        "Plot output of the sequence ratio results",
        "Modify onlyASR and colours"
      ],
      "created": "2024-05-28 07:16:33",
      "modified": "2026-10-05 11:16:38",
      "commits": 12
    },
    {
      "source": "a05_Summarise_temporal_symmetry.Rmd",
      "filename": "a05_Summarise_temporal_symmetry.html",
      "title": "Step 4: Obtain aggregated data on temporal symmetry",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Obtaining temporal symmetry",
        "Modify days"
      ],
      "created": "2024-05-28 07:16:33",
      "modified": "2026-10-05 11:16:38",
      "commits": 9
    },
    {
      "source": "a06_Visualise_temporal_symmetry.Rmd",
      "filename": "a06_Visualise_temporal_symmetry.html",
      "title": "Step 5: Visualise temporal symmetry",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction"
      ],
      "created": "2024-05-28 07:16:33",
      "modified": "2026-10-05 11:16:38",
      "commits": 8
    }
  ],
  "_score": 7.350790547426457,
  "_indexed": true,
  "_nocasepkg": "cohortsymmetry",
  "_universes": [
    "ohdsi",
    "daniellenewby"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0.9000",
      "date": "2026-10-05T16:40:00.000Z",
      "distro": "resolute",
      "commit": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
      "fileid": "https://r2.ropensci.org/b833b6101b20479becc4f0202960c059fe6a7397e8608afa0748ede606983431",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0.9000",
      "date": "2026-10-05T16:40:01.000Z",
      "distro": "resolute",
      "commit": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
      "fileid": "https://r2.ropensci.org/dbbcedee1082ee85491566c49c934cf4eb1487567c52320b5132025c29e21461",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0.9000",
      "date": "2026-10-05T17:11:38.000Z",
      "commit": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
      "fileid": "https://r2.ropensci.org/56d30de68e20148b63f5fa78184eee8497748638c3d51542dbc336bedffe8a24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0.9000",
      "date": "2026-10-05T17:11:14.000Z",
      "commit": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
      "fileid": "https://r2.ropensci.org/64a003ba5e7b9af30909dfd594f2ea56a73ac5c65a497fe1d1733fdc6d6a8a6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0.9000",
      "date": "2026-10-05T16:39:42.000Z",
      "commit": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
      "fileid": "https://r2.ropensci.org/7243d34e7395468ea6785c63e7a0aae9d7913ca72b0a17be465824b69688c571",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-10-05T16:39:13.000Z",
      "commit": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
      "fileid": "https://r2.ropensci.org/d1e82d42a0090858e0096a15e323849a93082b44eac4c0dd379096a8ad47daac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-10-05T16:38:50.000Z",
      "commit": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
      "fileid": "https://r2.ropensci.org/411a6a93db599027fd1d6084e2480361a6d6a2d494f4724561416367b81e4b91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0.9000",
      "date": "2026-10-05T16:38:52.000Z",
      "commit": "6de9a9a6968176cc5085a3b0da0f30b704911a2c",
      "fileid": "https://r2.ropensci.org/79256ac68839c6061198a63b60038b3af81bd2046d1c295440ecf2e6d558f22b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/37341515503"
    }
  ]
}