View source: R/sunscan_functions.R
generateReport | R Documentation |
If one does not provide a report script, then the default report script is used.
generateReport(
file,
inputfolder,
outputfolder,
reportscript = system.file("reports", "default_report.R", package = "sunscanimport")
)
file |
filename |
inputfolder |
input folder |
outputfolder |
output folder |
reportscript |
script to generate the report |
A report script is an R script that may contain RMarkdown. Inside the script
one can use the variable param
with its elements param$file
, param$inputfolder
and param$outputfolder
.
The report will be placed in the outputfolder in the subdirectory report
.
Notice that the package rmarkdown
and knitr
have to be installed to generate a report.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.