View source: R/download_template.R
| cf_download_template | R Documentation |
Saves a blank Excel template with required columns for batch carbon footprint calculations.
cf_download_template(file = "cowfootR_template.xlsx", include_examples = FALSE)
download_template(...)
file |
Path where the template will be saved. Default = "cowfootR_template.xlsx". |
include_examples |
Logical. If TRUE, includes example rows. |
Invisibly returns the file path.
tf <- tempfile(fileext = ".xlsx")
on.exit(unlink(tf, force = TRUE), add = TRUE)
cf_download_template(tf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.