I'm pretty new to knitr
, but I've written a script that generates a report for a county. One of the first lines in the first code chunk is display_county <- "King"
, and it queries a database to make all sorts of nice things about King County. Now I want to create reports for every county in my state. The only line in the script that needs be changed is the definition of display_county
.
I know the brew
packages is set up for stuff like this, and I know there's overlap between brew
and knitr
, but I don't know what I should be using.
This answer using Brew and Sweave would work with minor modifications, but is there a nice knitr
way to bypass brew
?