This app generates a downloadable parameterized report when the download button is clicked. It uses a .Rmd file to generate the report. Source code. Note that this app uses a temporaray directory because the app directory might not be writable when deployed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.