Package: OmopIndices 0.3.0

Martí Català

OmopIndices: Patient-Level Indices from the OMOP Common Data Model

Provides tools to derive standardised, reproducible patient-level indices and covariates from Observational Medical Outcomes Partnership (OMOP) Common Data Model (CDM) databases. Functions calculate comorbidity and frailty scores, including the Charlson Comorbidity Index, Electronic Frailty Index, and Hospital Frailty Risk Score, as well as body mass index, polypharmacy, ethnicity, location, and socioeconomic status measures.

Authors:Martí Català [aut, cre], Marta Alcalde-Herraiz [aut], Maria T Sanchez-Santos [aut]

OmopIndices_0.3.0.tar.gz
OmopIndices_0.3.0.zip(r-4.7-any)OmopIndices_0.3.0.zip(r-4.6-any)OmopIndices_0.3.0.zip(r-4.5-any)
OmopIndices_0.3.0.tgz(r-4.6-any)OmopIndices_0.3.0.tgz(r-4.5-any)
OmopIndices_0.3.0.tar.gz(r-4.7-any)OmopIndices_0.3.0.tar.gz(r-4.6-any)
OmopIndices_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
OmopIndices/json (API)

# Install 'OmopIndices' in R:
install.packages('OmopIndices', repos = c('https://ohdsi.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ohdsi/omopindices/issues

Pkgdown/docs site:https://ohdsi.github.io

On CRAN:

Conda:

4.65 score 2 stars 30 scripts 385 downloads 21 exports 29 dependencies

Last updated from:76d4943d5b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK201
source / vignettesOK226
linux-releaseOK245
macos-releaseOK183
macos-oldrelOK2178
windows-develOK125
windows-releaseOK154
windows-oldrelOK165
wasm-releaseOK123

Exports:addBMIaddCharlsonIndexaddElectronicFrailtyIndexaddEthnicityaddHospitalFrailtyRiskScoreaddIndexOfMultipleDeprivationaddLocationaddPolypharmacyaddPolypharmacyCountaddSocioEconomicStatusaddTownsendaddUpdatedCharlsonIndexattritioncharlsonCohortcohortCodelistcohortCountelectronicFrailtyIndexCohortgetIndexCodelistsettingstableNameupdatedCharlsonCohort

Dependencies:blobcliclockcpp11DBIdbplyrdplyrgenericsgluelifecyclemagrittrOmopConstructoromopgenericsPatientProfilespillarpkgconfigpurrrR6rlangsnakecasestringistringrtibbletidyrtidyselecttzdbutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Add Body Mass Index measurementaddBMI
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.addCharlsonIndex
Add Electronic Frailty Index (eFI) value based on Clegg et al. (2016) (doi:10.1093/ageing/afw039 <https://doi.org/10.1093/ageing/afw039>)addElectronicFrailtyIndex
Add the ethnicity of a person to a tableaddEthnicity
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>)addHospitalFrailtyRiskScore
Add socioeconomic status as a column to a table using the Index of Multiple DeprivationaddIndexOfMultipleDeprivation
Add the location to a tableaddLocation
Add the maximum number of ingredients to which an individual is simultaneously exposed within a specified windowaddPolypharmacy
Add the maximum number of ingredients to which an individual is simultaneously exposed within a specified windowaddPolypharmacyCount
Add socioeconomic status as a column to a tableaddSocioEconomicStatus
Add socioeconomic status as a column to a table using the Townsend deprivation indexaddTownsend
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>)addUpdatedCharlsonIndex
Create a cohort of groups of the Charlson Comorbidity Index (CCI)charlsonCohort
Create a cohort of groups of the Electronic Frailty Index (eFI)electronicFrailtyIndexCohort
Get the codelists used for a specified index calculationgetIndexCodelist
Create a cohort of groups of the updated Charlson Comorbidity Index (CCI)updatedCharlsonCohort