Closed remlapmot closed 4 years ago
Thanks for this, good points and suggestions to improve the reproducibility of the analyses. You're right we cannot run ssc install on our database as this does not have internet access, which is why these are commented out. I'll make this clear in the README (and we'll update the README templates for future studies to reflect this). I'll also add the required ado for evalue
the repo, apologies for missing this.
I'll be uploading a number of updates to my programs over the coming weeks and will add the Stata version in my do file headers as part of this. Thanks again!
Thanks indeed.
I think you are using at least 2 user-written Stata commands
evalues
anddatacheck
.Maybe you should include a do-file which installs these user-written Stata dependencies. You have a few
ssc install datacheck
commands commented out in your code. The Stata github package suggests ado-file package authors include adependency.do
file. So yours would need at least:Maybe this would need to be run before you submit your analysis to your database - as I'm not sure if that has internet access. Or maybe you just need to comment in the README, run this do-file before submitting the analysis.
In the previous OpenSAFELY analysis I think you included the user-writen ado-files in the repo, and here you've done that for
datacheck
but not forevalue
.Also in Stata for even fuller reproducibility people would write at the top of their do-files
where is
#
is whatever you used. In Stata seehelp version
for more info.