{
  "_id": "6aad25863d719c1f84076ad6",
  "Package": "OmopIndices",
  "Type": "Package",
  "Title": "Patient-Level Indices from the OMOP Common Data Model",
  "Version": "0.1.0.900",
  "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.0.0",
  "Config/Needs/website": "rmarkdown",
  "RoxygenNote": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ohdsi.r-universe.dev",
  "Date/Publication": "2026-09-17 16:11:25 UTC",
  "RemoteUrl": "https://github.com/ohdsi/omopindices",
  "RemoteRef": "HEAD",
  "RemoteSha": "95af652faca6bbc08daf3b52546789ef714266cd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-18 11:45:36 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.1.0.900.tar.gz",
  "_fileid": "https://r2.ropensci.org/e013bb803457b097d342ef031c41c5b6caf5156677e3bea83ea928cf52a1082f",
  "_filesize": 1074842,
  "_sha256": "e013bb803457b097d342ef031c41c5b6caf5156677e3bea83ea928cf52a1082f",
  "_expires": "2026-12-27T11:50:27.000Z",
  "_created": "2026-09-18T11:45:36.000Z",
  "_published": "2026-09-18T11:50:30.052Z",
  "_jobs": [
    {
      "job": 105587356614,
      "time": 203,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10545162769"
    },
    {
      "job": 105587356750,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10544883361"
    },
    {
      "job": 105587356647,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10545147650"
    },
    {
      "job": 105587356611,
      "time": 230,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10545242672"
    },
    {
      "job": 105586515172,
      "time": 199,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10544818562"
    },
    {
      "job": 105587356537,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10545142658"
    },
    {
      "job": 105587356645,
      "time": 130,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10545017848"
    },
    {
      "job": 105587356705,
      "time": 132,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10545277401"
    },
    {
      "job": 105587356646,
      "time": 151,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10544513847"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682",
  "_status": "success",
  "_upstream": "https://github.com/ohdsi/omopindices",
  "_commit": {
    "id": "95af652faca6bbc08daf3b52546789ef714266cd",
    "author": "Martí Català Sabaté <marticatalasabate@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #66 from OHDSI/release_011\n\nBMI fix",
    "time": 1789661485
  },
  "_maintainer": {
    "name": "Martí Català",
    "email": "marti.catalasabate@ndorms.ox.ac.uk",
    "login": "catalamarti",
    "description": "",
    "uuid": 18575244,
    "orcid": "0000-0003-3308-9905"
  },
  "_distro": "resolute",
  "_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": "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": "2025-41",
      "n": 3
    },
    {
      "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
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-09-17"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "catalamarti",
      "count": 147,
      "uuid": 18575244
    },
    {
      "user": "martaalcalde",
      "count": 13,
      "uuid": 91142894
    }
  ],
  "_userbio": {
    "uuid": 6570077,
    "type": "organization",
    "name": "Observational Health Data Sciences and Informatics",
    "followers": 1098
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OmopIndices"
  },
  "_devurl": "https://github.com/ohdsi/omopindices",
  "_pkgdown": "https://OHDSI.github.io/OmopIndices/",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "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"
    }
  ],
  "_exports": [
    "addBMI",
    "addCharlsonIndex",
    "addElectronicFrailtyIndex",
    "addEthnicity",
    "addHospitalFrailtyRiskScore",
    "addIndexOfMultipleDeprivation",
    "addLocation",
    "addPolypharmacy",
    "addPolypharmacyCount",
    "addSocioEconomicStatus",
    "addTownsend",
    "addUpdatedCharlsonIndex",
    "getIndexCodelist",
    "tableName"
  ],
  "_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": "getIndexCodelist",
      "title": "Get the codelists used for a specified index calculation",
      "topics": [
        "getIndexCodelist"
      ]
    }
  ],
  "_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",
    "omopgenerics",
    "PatientProfiles",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "omopindices",
  "_universes": [
    "ohdsi",
    "catalamarti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.900",
      "date": "2026-09-18T11:48:09.000Z",
      "distro": "resolute",
      "commit": "95af652faca6bbc08daf3b52546789ef714266cd",
      "fileid": "https://r2.ropensci.org/176f2ac1247d72fc4865f04d0101ceaf40679f7b2bb783e075100393607e1098",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.900",
      "date": "2026-09-18T11:47:58.000Z",
      "distro": "resolute",
      "commit": "95af652faca6bbc08daf3b52546789ef714266cd",
      "fileid": "https://r2.ropensci.org/dcd08ceaa80ba037d2831bba489ddb23ee5e447c6a27c02ce2e4b9bd196053cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.900",
      "date": "2026-09-18T11:48:33.000Z",
      "commit": "95af652faca6bbc08daf3b52546789ef714266cd",
      "fileid": "https://r2.ropensci.org/a90f6abc98f172d4983b36f55a3995502dd18f2ba4bbf77ecaa285ac4625b103",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.900",
      "date": "2026-09-18T11:48:34.000Z",
      "commit": "95af652faca6bbc08daf3b52546789ef714266cd",
      "fileid": "https://r2.ropensci.org/a82b1e9513b75148596ddc6f73b7946b64c6d57118e7d82cea09aaf0c71db277",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.900",
      "date": "2026-09-18T11:48:23.000Z",
      "commit": "95af652faca6bbc08daf3b52546789ef714266cd",
      "fileid": "https://r2.ropensci.org/b8334c98231b24861189b49ece9337ac163ec81a18ca2d0cdca2ad685878bb56",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.900",
      "date": "2026-09-18T11:46:45.000Z",
      "commit": "95af652faca6bbc08daf3b52546789ef714266cd",
      "fileid": "https://r2.ropensci.org/1b8723b4fddf6796dd666a50dbb466d345de63aba7f23243ee5896c973ccb8ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.900",
      "date": "2026-09-18T11:47:20.000Z",
      "commit": "95af652faca6bbc08daf3b52546789ef714266cd",
      "fileid": "https://r2.ropensci.org/5d012d07d3f8c29c142b4a853f65d5cfe53e777d60e01ec0f77b480896189de2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.900",
      "date": "2026-09-18T11:47:02.000Z",
      "commit": "95af652faca6bbc08daf3b52546789ef714266cd",
      "fileid": "https://r2.ropensci.org/6a04e6eb2fa457cae3d337501024c5e0c56dd390f679fb407efc0af6e46a84ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ohdsi/actions/runs/35340937682"
    }
  ]
}