- 20 Dec, 2022 1 commit
-
-
raihaan authored
-
- 19 Dec, 2022 1 commit
-
-
raihaan authored
derive input files/subsets for clustering analysis. includes separate .rda files containing dfs for each age bin, with 0/1 denoting diagnosis of ltc within given age bin. includes variables specifying droput due to death/age of latest HES as well as age of dementia diagnosis. outputs written to ../../derivatives/
-
- 15 Dec, 2022 2 commits
-
-
raihaan authored
csv containing OR for each individual ltc. also contains cols denoting include/exclude based on OR<1, and subsequent groupings (G, EYE, EAR, ANXST)
-
raihaan authored
reorg for new script ordering. now also only computes LR of single ltcs in the analysis sample only (65 age cutoff). saves analysis sample to derivatives folder, saves exclusions (dementia < 65, death < 65, follow up < 65) to derivatives as well
-
- 14 Dec, 2022 3 commits
- 13 Dec, 2022 2 commits
-
-
Mohammed Raihaan Patel authored
changes to derive ltc diagnoses from death reports, though these are few. will need to edit order of rest of scripts after 3_derive_death_diagnoses.R
-
raihaan authored
-
- 09 Dec, 2022 1 commit
-
-
Mohammed Raihaan Patel authored
added code to derive predementia_diagnosis_of_ltc, in addition to predementia_one/two/five_diagnosis_of_ltc, which is 1 if diagnosis date is on or before dementia diagnosis date
-
- 28 Nov, 2022 5 commits
-
-
raihaan authored
script to derive age at diagnosis for each ltc. also creates .rda file for age bins of 0-55,55-65,65-70,70-75,75-80,80-85 where value=1 if ltc has diagnosis in given age range
-
raihaan authored
-
raihaan authored
-
Mohammed Raihaan Patel authored
-
Mohammed Raihaan Patel authored
-
- 27 Nov, 2022 5 commits
-
-
raihaan authored
-
raihaan authored
create dementia cutoff dates to use in assessing if ltc id pre/post dementia diagnosis. merge dementia diagnosis variables with main ltc diagnosis set
-
raihaan authored
code for merging pcare and ukb alg diagnosis data, dementia dx is 1 if either sources record a diagnosis. earliest date used
-
raihaan authored
-
Mohammed Raihaan Patel authored
adjusted loop to account for rare cases where diagnosis is 1 but no diagnosis date is recorded (n=16). set diagnosis to 0 for these
-
- 26 Nov, 2022 6 commits
-
-
Mohammed Raihaan Patel authored
-
raihaan authored
cycle through ltcs, assign 1 if either pcare or HES diagnosis is 1. set diagnosis date to earliest date
-
raihaan authored
-
raihaan authored
-
raihaan authored
save output to derivatives instead of raw data..its not raw data. add numbering to indicate step in workflow
-
raihaan authored
-
- 25 Nov, 2022 4 commits
-
-
raihaan authored
added code to load ltc pcare data, merge and format, write out to .rda containing diagnosis and date column for ltcs, derived from pcare
-
raihaan authored
-
raihaan authored
-
Mohammed Raihaan Patel authored
-
- 24 Nov, 2022 3 commits
-
-
raihaan authored
-
raihaan authored
-
Mohammed Raihaan Patel authored
-
- 23 Nov, 2022 3 commits
-
-
raihaan authored
script to mine gp records for specificed read codes. outputs a sheet participants_with_LTC containing the id and event dates of the codes. written to run on a specificed split of gp clinical data. must give A or B as input
-
raihaan authored
a matching file to ltc_codes.csv but contains readcodes instead of icd codes for each ltc. to be used in gp records extraction
-
raihaan authored
-
- 18 Nov, 2022 1 commit
-
-
raihaan authored
refining icd codes based on comparisons to published works. dropping some columns im not using (eg painful conditions)
-
- 17 Nov, 2022 1 commit
-
-
raihaan authored
-
- 14 Nov, 2022 1 commit
-
-
raihaan authored
derive a pre dementia HES diagnosis - where diagnosis = 1 if and only if diagnosis date is 1 year prior to dementia date. use this in derivationg of age at diagnosis and age bin analysis
-
- 11 Nov, 2022 1 commit
-
-
Mohammed Raihaan Patel authored
-