Skip to contents

All functions

addBMI()
Add Body Mass Index measurement
addCharlsonIndex()
Add Charlson Comorbidity Index (CCI) value based on Charlson et al. (1987) (doi:10.1016/0021-9681(87)90171-8 ) and Charlson et al. (1994) (doi:10.1016/0895-4356(94)90129-5 ) (age-adjusted) version.
addElectronicFrailtyIndex()
Add Electronic Frailty Index (eFI) value based on Clegg et al. (2016) (doi:10.1093/ageing/afw039 )
addEthnicity()
Add the ethnicity of a person to a table
addHospitalFrailtyRiskScore()
Add the hospital frailty risk score as defined in Gilbert et al. (2018) (doi:10.1016/S0140-6736(18)30668-8 )
addIndexOfMultipleDeprivation()
Add socioeconomic status as a column to a table using the Index of Multiple Deprivation
addLocation()
Add the location to a table
addPolypharmacyCount()
Add the maximum number of ingredients to which an individual is simultaneously exposed within a specified window
addSocioEconomicStatus()
Add socioeconomic status as a column to a table
addTownsend()
Add socioeconomic status as a column to a table using the Townsend deprivation index
addUpdatedCharlsonIndex()
Add Updated Charlson Comorbidity Index (CCI) value based on Quan et al. (2011) (doi:10.1093/aje/kwq433 )
getIndexCodelist()
Get the codelists used for a specified index calculation