Closed JonMinton closed 2 years ago
I think more examples of something is often helpful, so I think this would be great, thanks. You're very welcome to add with attribution, but do please note that the repo is MIT so any code you submit will itself become MIT. Thanks :pray:
I've turned it into a PR
I was going to contribute a short example of procedurally generating markdown reports using params, but see this is already covered quite well.
The issue is whether the scripts I have add anything of sufficient additional value to the extant examples to be worth incorporating. I'm happy with any decision regarding this, including just closing the issue.
The materials are here; a subfolder 'outputs' would have to be added for the reports, but other than that (and ensuring the packages are loaded) it should run as is.
I think the .R + .rmd files add the following to the examples already in the repo:
render_one
function example in the rmarkdown cookbook chapter on parameterised reports.walk
function to 'loop' using tidyverse functional programming conventions, in addition to the more intuitive for loop pattern.If the above provides enough added value I'm happy for the code in part or in entirety to be added (with attribution) to the relevant section of the repo.