# Load libraries ----
library(SWMPrExtension)
library(officer)
library(flextable)
library(readxl)
library(dplyr)

# Load variables ----
source('R/00_load_national_template_variables.R')

# GENERATE FLEXTABLES -----
source('R/02-01_make_national_flextables.R')

# With parameters loaded, generate the template ----
source('R/02-02_national_template_generate_page_1.R')
source('R/02-03_national_template_generate_page_2.R')
source('R/02-04_national_template_generate_page_3.R')
source('R/02-05_national_template_generate_page_4.R')

print(doc, target = 'template_files/annual_report_raw.pptx')

