This is the repository for the PEDSnet HIRR project "Social Drivers of Health and Kidney Transplant Patient and Allograft Survival". It contains the code and codesets that were used to generate the study cohorts and analytic datasets, run statistical analyses, and generate tables and figures for the manuscript.
The codes were run against the PEDSnet database version 5.4 using R version 4.5.2.
PI: Ashton Chen
Senior PI: Michelle Denburg
Data Scientist: Nhat Nguyen, Ally Zelinski
Project Manager: Park Grace, Rochelle Jordan, Adya Maddox
-
setup_argos.R manages the database connection and loading the necessary files. Source this first.
-
driver_kt.R derives all independent and dependent variables and outcomes required for the study.
-
Functions used in the codes are located under the /code subdirectory with file names start with "cohort_".
-
Codesets used in the codes re located in the /specs subdirectory.
- A report generating the tables and figures for the manuscript is generated in rapid_report.qmd
- All other files were used in preliminary/exploratory analyses and are not required to reproducing the study results.