Databases and R code used for the analysis (trial registration project)