{
  "_id": "6a1edabab401979e7340f674",
  "Package": "CohortSymmetry",
  "Title": "Sequence Symmetry Analysis Using the Observational Medical\nOutcomes Partnership Common Data Model",
  "Version": "0.2.4",
  "Authors@R": "c(\nperson(\"Xihang\", \"Chen\", , \"xihang.chen@ndorms.ox.ac.uk\", role = c(\"aut\", \"cre\"),\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(\"Danielle\", \"Newby\", , \"danielle.newby@ndorms.ox.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-3001-1478\")),\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": "Xihang Chen <xihang.chen@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.2",
  "Config/testthat/edition": "3",
  "URL": "https://ohdsi.github.io/CohortSymmetry/",
  "BugReports": "https://github.com/OHDSI/CohortSymmetry/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libssl-dev libx11-dev",
  "Repository": "https://ohdsi.r-universe.dev",
  "Date/Publication": "2025-03-24 14:18:50 UTC",
  "RemoteUrl": "https://github.com/ohdsi/cohortsymmetry",
  "RemoteRef": "HEAD",
  "RemoteSha": "4691b6edd4c24b2b599c47654260677777975846",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 09:03:12 UTC",
    "User": "root"
  },
  "Author": "Xihang Chen [aut, cre] (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>),\nDanielle Newby [aut] (ORCID: <https://orcid.org/0000-0002-3001-1478>),\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>)",
  "MD5sum": "4e3abcda591f0caa3b83a2a86a720fb2",
  "_user": "ohdsi",
  "_type": "src",
  "_file": "CohortSymmetry_0.2.4.tar.gz",
  "_fileid": "b6a08da1ea2c07c919648cd4e3d4847db3b8c392c364b2688c0530459d2d09ab",
  "_filesize": 3054130,
  "_sha256": "b6a08da1ea2c07c919648cd4e3d4847db3b8c392c364b2688c0530459d2d09ab",
  "_created": "2026-05-20T09:03:12.000Z",
  "_published": "2026-06-02T13:29:30.442Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79081765623,
      "time": 272,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7105800574"
    },
    {
      "job": 79081765983,
      "time": 254,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105793879"
    },
    {
      "job": 79081765867,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7105756945"
    },
    {
      "job": 79081765738,
      "time": 217,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105780000"
    },
    {
      "job": 79081765672,
      "time": 339,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105701204"
    },
    {
      "job": 79081764811,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7359050101"
    },
    {
      "job": 79081765646,
      "time": 214,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7105779142"
    },
    {
      "job": 79081766313,
      "time": 268,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7105799291"
    },
    {
      "job": 79081766191,
      "time": 212,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105778535"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ohdsi/cohortsymmetry",
  "_commit": {
    "id": "4691b6edd4c24b2b599c47654260677777975846",
    "author": "Xihang Chen <114928037+xihang-chen@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #315 from OHDSI/cran_024\n\nupdate tests",
    "time": 1742825930
  },
  "_maintainer": {
    "name": "Xihang Chen",
    "email": "xihang.chen@ndorms.ox.ac.uk",
    "login": "xihang-chen",
    "description": "",
    "uuid": 114928037
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "CDMConnector",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "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": "omopgenerics",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "DrugUtilisation",
      "version": ">= 0.7.0",
      "role": "Imports"
    },
    {
      "package": "CodelistGenerator",
      "version": ">= 3.1.0",
      "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": "omock",
      "version": ">= 0.3.1",
      "role": "Suggests"
    },
    {
      "package": "visOmopResults",
      "version": ">= 0.4.0",
      "role": "Suggests"
    },
    {
      "package": "flextable",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "ohdsi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "xihang-chen",
      "count": 461,
      "uuid": 114928037
    },
    {
      "user": "edward-burn",
      "count": 23,
      "uuid": 9583964
    },
    {
      "user": "nmercadeb",
      "count": 23,
      "uuid": 61558739
    },
    {
      "user": "kimlopezguell",
      "count": 10,
      "uuid": 99121045
    },
    {
      "user": "braventos",
      "count": 3,
      "uuid": 80947940
    },
    {
      "user": "catalamarti",
      "count": 3,
      "uuid": 18575244
    },
    {
      "user": "mimiyuchenguo",
      "count": 1,
      "uuid": 57181081
    }
  ],
  "_userbio": {
    "uuid": 6570077,
    "type": "organization",
    "name": "Observational Health Data Sciences and Informatics"
  },
  "_downloads": {
    "count": 228,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CohortSymmetry"
  },
  "_devurl": "https://github.com/ohdsi/cohortsymmetry",
  "_pkgdown": "https://ohdsi.github.io/CohortSymmetry/",
  "_searchresults": 81,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CohortSymmetry.html",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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": [
    "askpass",
    "backports",
    "bit",
    "bit64",
    "blob",
    "CDMConnector",
    "checkmate",
    "cli",
    "clipr",
    "clock",
    "CodelistGenerator",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "dbplyr",
    "dplyr",
    "DrugUtilisation",
    "generics",
    "glue",
    "here",
    "hms",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "omopgenerics",
    "openssl",
    "PatientProfiles",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "rprojroot",
    "snakecase",
    "stringi",
    "stringr",
    "sys",
    "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": "2024-11-29 12:20:03",
      "commits": 17
    },
    {
      "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": "2025-02-28 20:12:39",
      "commits": 3
    },
    {
      "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": "2025-02-28 20:12:39",
      "commits": 9
    },
    {
      "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": "2025-02-28 20:12:39",
      "commits": 8
    },
    {
      "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 the cohort based on cohort_definition_id",
        "Modify timescale"
      ],
      "created": "2024-05-28 07:16:33",
      "modified": "2025-02-28 20:12:39",
      "commits": 7
    },
    {
      "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": "2025-02-28 20:12:39",
      "commits": 5
    }
  ],
  "_score": 6.464787519645937,
  "_indexed": true,
  "_nocasepkg": "cohortsymmetry",
  "_universes": [
    "ohdsi",
    "xihang-chen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-05-20T09:05:47.000Z",
      "distro": "noble",
      "commit": "4691b6edd4c24b2b599c47654260677777975846",
      "fileid": "85faccde6a3ba4ec0aea16e19acb624ad84425de6be33d7d74431cdac818b8dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-05-20T09:05:42.000Z",
      "distro": "noble",
      "commit": "4691b6edd4c24b2b599c47654260677777975846",
      "fileid": "f02cdbe38febbb7fdde5f0e3b4e0eba30cf219cb44e66d693121cdba75588917",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-05-20T09:04:50.000Z",
      "commit": "4691b6edd4c24b2b599c47654260677777975846",
      "fileid": "c839d123183aac6caaa4e900f22c20199fbec9c98c79fbecca3777c72445bbb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-05-20T09:05:09.000Z",
      "commit": "4691b6edd4c24b2b599c47654260677777975846",
      "fileid": "461f777a6fb0f7957214048dc65bb0b9f27496f80cf70d37378cd1ce03edd789",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-05-20T09:04:35.000Z",
      "commit": "4691b6edd4c24b2b599c47654260677777975846",
      "fileid": "62636074e2f4f294ee104153bc2d242f27acd0924117b522bed4451219c94fea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-05-20T09:05:27.000Z",
      "commit": "4691b6edd4c24b2b599c47654260677777975846",
      "fileid": "3287b9cd2070b925cf798c0242d94fa1efd464cb64d2dfd5dec67a33e596fb01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-05-20T09:04:35.000Z",
      "commit": "4691b6edd4c24b2b599c47654260677777975846",
      "fileid": "036d7bc6e39661336dd2649120f7cec2cf15c805177cbee110fff408b8c4436a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4",
      "date": "2026-06-02T13:29:03.000Z",
      "commit": "4691b6edd4c24b2b599c47654260677777975846",
      "fileid": "d977b2a3ccd12ce9432c0f834979bc5a8c02bc1e4c0729b2ad9363381c6ead37",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/26152274016"
    }
  ]
}