Creates a PDF file with plots for selected GLOBIOM VAR_ID, ITEM_AG and VAR_UNIT combinations.

trend_plot_all(df_gl, df_hs, path = NULL, file_name = NULL, comb = NULL)

Arguments

df_gl

Data frame with globiom output.

df_hs

Data frame with historical data aggregated to GLOBIOM nomenclature.

path

Path where the PDF file will be saved. Default is the working directory.

file_name

Name of the PDF file that is generated. Default is globiom_trend_plots_YYYY-MM-DD.pdf.

comb

Output combinations used for plotting. Default is all_output_comb(df_gl) as present in main_output_comb.

Value

None but a PDF file is saved in the working directory or a specified location.

Details

Plots are produced for a standard set of key VAR_ID, ITEM_AG and VAR_UNIT combinations stored in output_comb_base unless specified otherwise. Plots are only produced for output combinations that exist in the data.

Examples

if (FALSE) { trend_plot_all(df_gl = globiom, df_hs = hist, path = "c:/temp", file_name = "globiom_output") }