I'm a psychiatric epidemiologist and Senior Research Fellow in the UCL Division of Psychiatry. I study where inequalities in mental health arise: the points at which people's needs are noticed or missed by schools, the NHS and addiction treatment services. Most of that work uses linked administrative data and electronic health records, usually inside secure research environments, so much of the code can't be published here.
What is here:
- Teaching materials: Reproducible Data Analysis for Mental Health Research (a Carpentries workshop in R and Python), Mapping and Spatial Analysis in R (for the UCL R User Group), Good practice for R in the ONS Secure Research Service, and Risk of Suicide After Cancer Diagnosis in England (worked examples in R, Python and Stata).
- Research code: for example hopesen, on SEND provision and secondary-school outcomes in the ECHILD database.
- Project sites: UNITED, an NIHR project on England's national drug and alcohol treatment data, and the source for my website.
Publications and current projects are on justinyang.me. ORCID: 0000-0003-2881-4906.