Skip to content
Snippets Groups Projects
Commit 85e9d177 authored by Ben Anderson's avatar Ben Anderson
Browse files

Merge branch '2020_30_10_EPCs' into 'master'

2020 30 10 EPCs

See merge request SERG/fridayFagPackets!1
parents ce6034ff 40c9669a
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
makeReport <- function(f){
# default = html
rmarkdown::render(input = paste0(here::here("EPCsAndCarbon", f), ".Rmd"),
params = list(title = title,
subtitle = subtitle,
authors = authors),
output_file = paste0(here::here("docs/"), f, ".html")
)
# word
rmarkdown::render(input = paste0(here::here("EPCsAndCarbon", f), ".Rmd"),
params = list(title = title,
subtitle = subtitle,
authors = authors),
output_file = paste0(here::here("docs/"), f, ".docx"),
output_format = "word_document"
)
}
# >> run report ----
rmdFile <- "carbonCosts" # not the full path
title = "What can EPC data tell us about the domestic cost of carbon?"
subtitle = ""
authors = "Ben Anderson"
makeReport(rmdFile)
\ No newline at end of file
File added
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment