Skip to contents

Saves a blank Excel template with required columns for batch carbon footprint calculations.

Usage

cf_download_template(file = "cowfootR_template.xlsx", include_examples = FALSE)

download_template(...)

Arguments

file

Path where the template will be saved. Default = "cowfootR_template.xlsx".

include_examples

Logical. If TRUE, includes example rows.

Value

Invisibly returns the file path.

Examples

tf <- tempfile(fileext = ".xlsx")
on.exit(unlink(tf, force = TRUE), add = TRUE)
cf_download_template(tf)
#> Template saved to: /tmp/RtmpsrBqAK/file1cca12164dc7.xlsx