{
  "_id": "6aebb9671e2c7b3a4f53551c",
  "Package": "OmopIndices",
  "Type": "Package",
  "Title": "Patient-Level Indices from the OMOP Common Data Model",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(\"Martí\", \"Català\", , \"marti.catalasabate@ndorms.ox.ac.uk\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-3308-9905\")),\nperson(\"Marta\", \"Alcalde-Herraiz\", , \"marta.alcaldeherraiz@ndorms.ox.ac.uk\",\nrole = c(\"aut\"), comment = c(ORCID = \"0009-0002-4405-1814\")),\nperson(\"Maria T\", \"Sanchez-Santos\", , \"maria.sanchez@ndorms.ox.ac.uk\",\nrole = c(\"aut\"), comment = c(ORCID = \"0000-0003-1908-8623\"))\n)",
  "Maintainer": "Martí Català <marti.catalasabate@ndorms.ox.ac.uk>",
  "Description": "Provides tools to derive standardised, reproducible\npatient-level indices and covariates from Observational Medical\nOutcomes Partnership (OMOP) Common Data Model (CDM) databases.\nFunctions calculate comorbidity and frailty scores, including\nthe Charlson Comorbidity Index, Electronic Frailty Index, and\nHospital Frailty Risk Score, as well as body mass index,\npolypharmacy, ethnicity, location, and socioeconomic status\nmeasures.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://OHDSI.github.io/OmopIndices/",
  "BugReports": "https://github.com/OHDSI/OmopIndices/issues",
  "Config/roxygen2/version": "8.1.0",
  "Config/Needs/website": "rmarkdown",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ohdsi.r-universe.dev",
  "Date/Publication": "2026-11-04 17:28:22 UTC",
  "RemoteUrl": "https://github.com/ohdsi/omopindices",
  "RemoteRef": "HEAD",
  "RemoteSha": "76d4943d5bc449b6f7add40f303efac9c6773118",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-04 22:15:33 UTC",
    "User": "root"
  },
  "Author": "Martí Català [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3308-9905>),\nMarta Alcalde-Herraiz [aut] (ORCID:\n<https://orcid.org/0009-0002-4405-1814>),\nMaria T Sanchez-Santos [aut] (ORCID:\n<https://orcid.org/0000-0003-1908-8623>)",
  "_user": "ohdsi",
  "_type": "src",
  "_file": "OmopIndices_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/52b82f66ab9d7395dbf164be18d301139fa65d1e97e33da9b28216313470d2f2",
  "_filesize": 1102901,
  "_sha256": "52b82f66ab9d7395dbf164be18d301139fa65d1e97e33da9b28216313470d2f2",
  "_expires": "2027-02-12T23:01:57.000Z",
  "_created": "2026-11-04T22:15:33.000Z",
  "_published": "2026-11-04T23:01:59.177Z",
  "_upstream": "https://github.com/ohdsi/omopindices",
  "_status": "success",
  "_maintainer": {
    "name": "Martí Català",
    "email": "marti.catalasabate@ndorms.ox.ac.uk",
    "login": "catalamarti",
    "description": "",
    "uuid": 18575244,
    "orcid": "0000-0003-3308-9905"
  },
  "_jobs": [
    {
      "job": 126902582750,
      "time": 201,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13368930726"
    },
    {
      "job": 126902582898,
      "time": 245,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13368013255"
    },
    {
      "job": 126902582837,
      "time": 2178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13370832272"
    },
    {
      "job": 126902582803,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13369635292"
    },
    {
      "job": 126900575275,
      "time": 226,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13368161698"
    },
    {
      "job": 126902582828,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13366929504"
    },
    {
      "job": 126902583151,
      "time": 125,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13368795694"
    },
    {
      "job": 126902582994,
      "time": 165,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13368620951"
    },
    {
      "job": 126902582887,
      "time": 154,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13368551097"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951",
  "_commit": {
    "id": "76d4943d5bc449b6f7add40f303efac9c6773118",
    "author": "Martí Català Sabaté <marticatalasabate@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #80 from OHDSI/release_030\n\nRelease 0.3.0",
    "time": 1793813302
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "clock",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "OmopConstructor",
      "role": "Imports"
    },
    {
      "package": "omopgenerics",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "PatientProfiles",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "CDMConnector",
      "role": "Suggests"
    },
    {
      "package": "CodelistGenerator",
      "role": "Suggests"
    },
    {
      "package": "CohortConstructor",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "odbc",
      "role": "Suggests"
    },
    {
      "package": "omock",
      "role": "Suggests"
    },
    {
      "package": "PhenotypeR",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RPostgres",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "visOmopResults",
      "role": "Suggests"
    }
  ],
  "_owner": "ohdsi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 7
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 5
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-33",
      "n": 3
    },
    {
      "week": "2026-36",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 10
    },
    {
      "week": "2026-38",
      "n": 2
    },
    {
      "week": "2026-43",
      "n": 2
    },
    {
      "week": "2026-44",
      "n": 3
    },
    {
      "week": "2026-45",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-09-17"
    },
    {
      "name": "v0.2.0",
      "date": "2026-10-27"
    },
    {
      "name": "v0.3.0",
      "date": "2026-11-04"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "catalamarti",
      "count": 204,
      "uuid": 18575244
    },
    {
      "user": "martaalcalde",
      "count": 16,
      "uuid": 91142894
    }
  ],
  "_userbio": {
    "uuid": 6570077,
    "type": "organization",
    "name": "Observational Health Data Sciences and Informatics",
    "followers": 1144
  },
  "_downloads": {
    "count": 385,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OmopIndices"
  },
  "_devurl": "https://github.com/ohdsi/omopindices",
  "_pkgdown": "https://OHDSI.github.io/OmopIndices/",
  "_searchresults": 30,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/OmopIndices.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ohdsi/omopindices",
  "_realowner": "ohdsi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-17"
    },
    {
      "version": "0.2.0",
      "date": "2026-10-27"
    },
    {
      "version": "0.3.0",
      "date": "2026-11-04"
    }
  ],
  "_exports": [
    "addBMI",
    "addCharlsonIndex",
    "addElectronicFrailtyIndex",
    "addEthnicity",
    "addHospitalFrailtyRiskScore",
    "addIndexOfMultipleDeprivation",
    "addLocation",
    "addPolypharmacy",
    "addPolypharmacyCount",
    "addSocioEconomicStatus",
    "addTownsend",
    "addUpdatedCharlsonIndex",
    "attrition",
    "charlsonCohort",
    "cohortCodelist",
    "cohortCount",
    "electronicFrailtyIndexCohort",
    "getIndexCodelist",
    "settings",
    "tableName",
    "updatedCharlsonCohort"
  ],
  "_help": [
    {
      "page": "addBMI",
      "title": "Add Body Mass Index measurement",
      "topics": [
        "addBMI"
      ]
    },
    {
      "page": "addCharlsonIndex",
      "title": "Add Charlson Comorbidity Index (CCI) value based on Charlson et al. (1987) (doi:10.1016/0021-9681(87)90171-8 <https://doi.org/10.1016/0021-9681%2887%2990171-8>) and Charlson et al. (1994) (doi:10.1016/0895-4356(94)90129-5 <https://doi.org/10.1016/0895-4356%2894%2990129-5>) (age-adjusted) version.",
      "topics": [
        "addCharlsonIndex"
      ]
    },
    {
      "page": "addElectronicFrailtyIndex",
      "title": "Add Electronic Frailty Index (eFI) value based on Clegg et al. (2016) (doi:10.1093/ageing/afw039 <https://doi.org/10.1093/ageing/afw039>)",
      "topics": [
        "addElectronicFrailtyIndex"
      ]
    },
    {
      "page": "addEthnicity",
      "title": "Add the ethnicity of a person to a table",
      "topics": [
        "addEthnicity"
      ]
    },
    {
      "page": "addHospitalFrailtyRiskScore",
      "title": "Add the hospital frailty risk score as defined in Gilbert et al. (2018) (doi:10.1016/S0140-6736(18)30668-8 <https://doi.org/10.1016/S0140-6736%2818%2930668-8>)",
      "topics": [
        "addHospitalFrailtyRiskScore"
      ]
    },
    {
      "page": "addIndexOfMultipleDeprivation",
      "title": "Add socioeconomic status as a column to a table using the Index of Multiple Deprivation",
      "topics": [
        "addIndexOfMultipleDeprivation"
      ]
    },
    {
      "page": "addLocation",
      "title": "Add the location to a table",
      "topics": [
        "addLocation"
      ]
    },
    {
      "page": "addPolypharmacy",
      "title": "Add the maximum number of ingredients to which an individual is simultaneously exposed within a specified window",
      "topics": [
        "addPolypharmacy"
      ]
    },
    {
      "page": "addPolypharmacyCount",
      "title": "Add the maximum number of ingredients to which an individual is simultaneously exposed within a specified window",
      "topics": [
        "addPolypharmacyCount"
      ]
    },
    {
      "page": "addSocioEconomicStatus",
      "title": "Add socioeconomic status as a column to a table",
      "topics": [
        "addSocioEconomicStatus"
      ]
    },
    {
      "page": "addTownsend",
      "title": "Add socioeconomic status as a column to a table using the Townsend deprivation index",
      "topics": [
        "addTownsend"
      ]
    },
    {
      "page": "addUpdatedCharlsonIndex",
      "title": "Add Updated Charlson Comorbidity Index (CCI) value based on Quan et al. (2011) (doi:10.1093/aje/kwq433 <https://doi.org/10.1093/aje/kwq433>)",
      "topics": [
        "addUpdatedCharlsonIndex"
      ]
    },
    {
      "page": "charlsonCohort",
      "title": "Create a cohort of groups of the Charlson Comorbidity Index (CCI)",
      "topics": [
        "charlsonCohort"
      ]
    },
    {
      "page": "electronicFrailtyIndexCohort",
      "title": "Create a cohort of groups of the Electronic Frailty Index (eFI)",
      "topics": [
        "electronicFrailtyIndexCohort"
      ]
    },
    {
      "page": "getIndexCodelist",
      "title": "Get the codelists used for a specified index calculation",
      "topics": [
        "getIndexCodelist"
      ]
    },
    {
      "page": "updatedCharlsonCohort",
      "title": "Create a cohort of groups of the updated Charlson Comorbidity Index (CCI)",
      "topics": [
        "updatedCharlsonCohort"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ohdsi/omopindices/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ohdsi/omopindices/raw/HEAD/README.md",
  "_rundeps": [
    "blob",
    "cli",
    "clock",
    "cpp11",
    "DBI",
    "dbplyr",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "OmopConstructor",
    "omopgenerics",
    "PatientProfiles",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "omopindices",
  "_universes": [
    "ohdsi",
    "catalamarti"
  ],
  "_previous": "0.2.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-11-04T22:17:54.000Z",
      "distro": "resolute",
      "commit": "76d4943d5bc449b6f7add40f303efac9c6773118",
      "fileid": "https://r2.ropensci.org/d7b28739807c9e2e86c35d1ef81248fb2d56d2ed6b2468c9ad6ca54f08665287",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-11-04T22:18:30.000Z",
      "distro": "resolute",
      "commit": "76d4943d5bc449b6f7add40f303efac9c6773118",
      "fileid": "https://r2.ropensci.org/6dff50b7a5dcd861feff2a009e1afd978c131656c0ae78ce569385fd33544d68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-11-04T23:00:15.000Z",
      "commit": "76d4943d5bc449b6f7add40f303efac9c6773118",
      "fileid": "https://r2.ropensci.org/542946bd962ff621afc68390ffe49a3d8124760e3c1f4a132693af490d837914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-11-04T22:22:57.000Z",
      "commit": "76d4943d5bc449b6f7add40f303efac9c6773118",
      "fileid": "https://r2.ropensci.org/515bb5653d983aae6bce9979a126442e04e966e8749a8b75d06fafc0bb65be57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-11-04T22:18:00.000Z",
      "commit": "76d4943d5bc449b6f7add40f303efac9c6773118",
      "fileid": "https://r2.ropensci.org/7cd6ac8cc4c27d97c9650596f46a4e211db7f56f8143a3cd54b851cd191e0ae3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-04T22:16:46.000Z",
      "commit": "76d4943d5bc449b6f7add40f303efac9c6773118",
      "fileid": "https://r2.ropensci.org/693cbcf2185ebac71521279387fd2d3c64e48c2336721f245f52e685acbb605f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-04T22:17:10.000Z",
      "commit": "76d4943d5bc449b6f7add40f303efac9c6773118",
      "fileid": "https://r2.ropensci.org/f0c2eb613fe9676f67f02c4afe4d732b1903725b863177a63be8d9703319df63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-04T22:16:58.000Z",
      "commit": "76d4943d5bc449b6f7add40f303efac9c6773118",
      "fileid": "https://r2.ropensci.org/ebd1fcf9450f2729641e3940735c09ecccee4d9645e823d9be29dc458e56893d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/41923114951"
    }
  ]
}