``` {r Knitr prep, cache=FALSE,include=FALSE} library(knitr)
opts_chunk$set(echo=FALSE, dev='cairo_pdf', warning=FALSE, fig.width=600/74)
opts_knit$set(root.dir='~/github/Charting-government/')
``` {r Load tools library from anywhere, include=FALSE, echo=FALSE} # install.packages(devtools) # library(devtools) # install_github('pbtools','petrbouchal') library(pbtools)
``` {r Data prep, include=FALSE, echo=FALSE, warning=FALSE}
bdata <- read.csv() bdata <- bdata %>%
Summary here before break <!--more--> ## Heading 2 More text here ```r # prep plot here loadcustomthemes(themebasecolours, 'Helvetica') bplot <- ggplot(bdata, aes()) + geom_bar() + scale_fill_manual() + theme()
```r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.