Files 01-09 contain all code underpinning the analysis presented in: Identifying long COVID using electronic health records: a national observational cohort study in Scotland.
Files 10-13 contain all code underpinning the analysis presented in: Deriving and validating a risk prediction model for long COVID: population-based, retrospective cohort study in Scotland.