I like the idea of ββmaking research available at several levels of detail, i.e. abstract for a randomly curious, full text for more interested, and finally, data and code for those who work in the same area / trying to reproduce your results. Between the actual text and the data / code level, I would like to insert another layer. Namely, I would like to create a kind of automatically created application that contains full regression output, diagnostic graphs, data profiles of exploratory graphs, etc. From the analysis, regardless of whether there were these graphs / regressions, etc. included in the final document.
One of my ideas was to write a script that will check the .Rnw file and automatically:
- Profile of all downloadable datasets (like the Hmisc package (?))
- Summarize all the regressions, i.e. run a resume (model) for all models.
- Present all the graphs (regardless of whether they did it in the final version)
The idea is to make this type of restrained, push-button, and not a formal application written like the whole article. I am looking for some ideas on how to do this in R in a relatively simple way. My guess is that there is some way to go through the namespace, find out something, and then dump it into a PDF file.
Thoughts? Does something like this already exist?
source share