This file shows how to make printable report in PDF-formats. We currently have two options:
The .Rmd documents above that we use here are saved in the inst folder of norspis2. And we use the render_report.R function in norspis2, which is made for the purpose of running the .Rmd-documents.
Just run the relevant code snippet below. You do not need to knit this entire .Rmd-document.
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(norspis2)
Make report for all RESH-id's
#getwd() for(reshID in unique(DL$RegData2$AvdRESH)){ norspis2::render_report(reshID = reshID) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.