one_pager.Rd
This function creates a one-pager summary of ESP data.
one_pager(
data,
overall_data,
years = 2017:2021,
head_text = "some text",
foot_text = "more text",
bayes_path = system.file("images/bayes.png", package = "AKesp"),
header_path = system.file("images/header.png", package = "AKesp"),
output_name = "one-pager.pdf"
)
The data you want displayed in traffic light figures/table (pulled from AKFIN)
The data to use in creating the overall score figure
The years to display in the traffic light table
The text to display at the top of the one-pager
The text to display at the bottom of the one-pager
The file path to the Bayesian Adaptive Sampling figure (must be a png)
The file path to the image to use as the header (must be a png)
The file name of the output. Include the file extension (can be any file extension that is compatible with ggsave
)
A saved one-pager file