Skip to content

Instantly share code, notes, and snippets.

@sebbacon
Created October 20, 2021 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebbacon/7edee53a628067b9b9c9e740bf381f4c to your computer and use it in GitHub Desktop.
Save sebbacon/7edee53a628067b9b9c9e740bf381f4c to your computer and use it in GitHub Desktop.
popular variable names in opensafely studies
sex 115 ############################################################
age 114 ############################################################
imd 84 ############################################
ethnicity 67 ###################################
region 64 ##################################
stp 63 #################################
care_home_type 51 ###########################
registered 47 #########################
bmi 45 ########################
chronic_cardiac_disease 44 #######################
chronic_liver_disease 39 #####################
index_of_multiple_deprivation 35 ###################
rural_urban 33 ##################
msoa 32 #################
dementia 30 ################
bp_sys 28 ###############
bp_dias 28 ###############
ever_smoked 27 ###############
dereg_date 27 ###############
lung_cancer 26 ##############
died_date_ons 26 ##############
smoking_status 25 ##############
most_recent_smoking_code 25 ##############
has_died 25 ##############
chronic_respiratory_disease 25 ##############
dialysis 24 #############
creatinine 24 #############
hypertension 23 ############
diabetes 23 ############
asthma 23 ############
practice_id 21 ###########
hba1c_mmol_per_mol 21 ###########
ethnicity_16 21 ###########
died_ons_covid_flag_any 21 ###########
stroke 20 ###########
hba1c_percentage 20 ###########
practice 19 ##########
recent_asthma_code 18 ##########
prednisolone_last_year 18 ##########
other_neuro 18 ##########
household_id 18 ##########
covid_admission_date 18 ##########
copd_code_ever 18 ##########
temporary_immunodeficiency 17 #########
ra_sle_psoriasis 17 #########
permanent_immunodeficiency 17 #########
other_cancer 17 #########
household_size 17 #########
haem_cancer 17 #########
death_date 17 #########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment