reportsrender.render_rmd¶
-
reportsrender.
render_rmd
(input_file, output_file, params=None)¶ Wrapper function to render an Rmarkdown document with the R rmarkdown package and convert it to HTML using pandoc and a custom template.
- Parameters
input_file (
str
) – path to input (Rmd) fileoutput_file (
str
) – path to output (html) fileparams (
Optional
[dict
]) – Dictionary that will be passed to params arg of rmarkdown::render. See https://bookdown.org/yihui/rmarkdown/parameterized-reports.html for more details.